Skip to content

Commit

Permalink
add /tools/bats/libexec/bats to st2test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ein-nor committed Nov 1, 2023
1 parent 41be5af commit 4bf956c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/st2tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bats
#!/tools/bats/libexec/bats

load "${BATS_HELPERS_DIR}/bats-support/load.bash"
load "${BATS_HELPERS_DIR}/bats-assert/load.bash"
Expand Down
2 changes: 1 addition & 1 deletion tests/st2tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
BATS_HELPERS_DIR: /tools/bats-helpers/
ST2_AUTH_USERNAME: ${ST2_AUTH_USERNAME:-st2admin}
ST2_AUTH_PASSWORD: ${ST2_AUTH_PASSWORD:-Ch@ngeMe}
command: bash -c "export PATH=/tools/bats/libexec/:${PATH} >> /root/.bashrc && /st2tests.sh"
command: bash -c "/st2tests.sh"
volumes:
- ./st2tests.sh:/st2tests.sh:ro
- tools:/tools
Expand Down

0 comments on commit 4bf956c

Please sign in to comment.