Skip to content

Commit

Permalink
chore: ensure TAG is passed in tag to test script
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed May 10, 2024
1 parent f8c7779 commit 376bf67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- run: "bundle install"
- run: "bundle exec rake"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update_gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:

- name: Integration tests
run: script/test.sh
env:
TAG: latest

- name: Git commit and push
run: script/update-gems-workflow/git-commit-and-push-gemfile.sh
Expand Down
2 changes: 2 additions & 0 deletions script/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

: "${TAG:?TAG must be provided}"

docker_compose_files=$(find . -name "docker-compose-test*.yml")

for file in $docker_compose_files; do
Expand Down

0 comments on commit 376bf67

Please sign in to comment.