From 376bf67110790565a874d5621b237a93b71d7735 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Fri, 10 May 2024 16:14:46 +1000 Subject: [PATCH] chore: ensure TAG is passed in tag to test script --- .github/workflows/test.yml | 2 +- .github/workflows/update_gems.yml | 2 ++ script/test.sh | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c351cf..dca7e26 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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" diff --git a/.github/workflows/update_gems.yml b/.github/workflows/update_gems.yml index 485ed4d..82be509 100644 --- a/.github/workflows/update_gems.yml +++ b/.github/workflows/update_gems.yml @@ -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 diff --git a/script/test.sh b/script/test.sh index b5a9d90..2b08b55 100755 --- a/script/test.sh +++ b/script/test.sh @@ -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