mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-19 09:58:53 -05:00
Update bats. Closes #3270
This commit is contained in:
2
.github/workflows/release_cli_and_assets.yml
vendored
2
.github/workflows/release_cli_and_assets.yml
vendored
@@ -394,7 +394,7 @@ jobs:
|
||||
|
||||
- name: Set PATH
|
||||
run: |
|
||||
echo "PATH=$PATH:$HOME/build:$GTIHUB_WORKSPACE/tests/acceptance/lib/bats/libexec" >> $GITHUB_ENV
|
||||
echo "PATH=$PATH:$HOME/build:$GTIHUB_WORKSPACE/tests/acceptance/lib/bats-core/libexec" >> $GITHUB_ENV
|
||||
|
||||
- name: Go install jd
|
||||
run: |
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -161,7 +161,7 @@ jobs:
|
||||
|
||||
- name: Set PATH
|
||||
run: |
|
||||
echo "PATH=$PATH:$HOME/build:$GTIHUB_WORKSPACE/tests/acceptance/lib/bats/libexec" >> $GITHUB_ENV
|
||||
echo "PATH=$PATH:$HOME/build:$GTIHUB_WORKSPACE/tests/acceptance/lib/bats-core/libexec" >> $GITHUB_ENV
|
||||
|
||||
- name: Go install jd
|
||||
run: |
|
||||
|
||||
14
.gitmodules
vendored
14
.gitmodules
vendored
@@ -1,9 +1,9 @@
|
||||
[submodule "tests/acceptance/lib/bats"]
|
||||
path = tests/acceptance/lib/bats
|
||||
url = https://github.com/sstephenson/bats
|
||||
[submodule "tests/acceptance/lib/bats-assert"]
|
||||
[submodule "bats-core"]
|
||||
path = tests/acceptance/lib/bats-core
|
||||
url = https://github.com/bats-core/bats-core
|
||||
[submodule "bats-assert"]
|
||||
path = tests/acceptance/lib/bats-assert
|
||||
url = https://github.com/ztombol/bats-assert
|
||||
[submodule "tests/acceptance/lib/bats-support"]
|
||||
url = https://github.com/bats-core/bats-assert
|
||||
[submodule "bats-support"]
|
||||
path = tests/acceptance/lib/bats-support
|
||||
url = https://github.com/ztombol/bats-support
|
||||
url = https://github.com/bats-core/bats-support
|
||||
|
||||
Submodule tests/acceptance/lib/bats deleted from 03608115df
Submodule tests/acceptance/lib/bats-assert updated: 9f88b4207d...44913ffe60
1
tests/acceptance/lib/bats-core
Submodule
1
tests/acceptance/lib/bats-core
Submodule
Submodule tests/acceptance/lib/bats-core added at 4417a96cfc
Submodule tests/acceptance/lib/bats-support updated: 004e707638...3c8fadc509
@@ -12,7 +12,7 @@ then
|
||||
fi
|
||||
|
||||
# set this to the source file for development
|
||||
export BATS_PATH=$MY_PATH/lib/bats/bin/bats
|
||||
export BATS_PATH=$MY_PATH/lib/bats-core/bin/bats
|
||||
export LIB_BATS_ASSERT=$MY_PATH/lib/bats-assert
|
||||
export LIB_BATS_SUPPORT=$MY_PATH/lib/bats-support
|
||||
export TEST_DATA_DIR=$MY_PATH/test_data/templates
|
||||
@@ -53,13 +53,15 @@ echo " ___) | || (_| | | | |_| | | | | (_| | | | __/\__ \ |_\__ \\"
|
||||
echo "|____/ \__\__,_|_| \__|_|_| |_|\__, | |_|\___||___/\__|___/"
|
||||
echo " |___/ "
|
||||
|
||||
export PATH=$MY_PATH/lib/bats/bin:$PATH
|
||||
export PATH=$MY_PATH/lib/bats-core/bin:$PATH
|
||||
|
||||
if [[ ! ${STEAMPIPE_INSTALL_DIR} ]];
|
||||
then
|
||||
export STEAMPIPE_INSTALL_DIR="$HOME/.steampipe"
|
||||
fi
|
||||
|
||||
batversion=$(bats --version)
|
||||
echo $batversion
|
||||
echo "Running with STEAMPIPE_INSTALL_DIR set to $STEAMPIPE_INSTALL_DIR"
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user