From 08b1fde8ad0213818101661bc1213bc73914bd17 Mon Sep 17 00:00:00 2001 From: Nathan Papes Date: Wed, 17 Apr 2024 19:06:23 -0400 Subject: [PATCH] more trial and error --- .github/workflows/ci.yml | 9 +++++++-- .github/workflows/{run_tests.yml => run_tests.yml.bak} | 1 - 2 files changed, 7 insertions(+), 3 deletions(-) rename .github/workflows/{run_tests.yml => run_tests.yml.bak} (96%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e75a731f..45fdda17c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,12 @@ jobs: load: true cache-from: type=gha cache-to: type=gha,mode=max - tags: galahq/gala:latest + tags: gala_web + + - name: Docker Compose pull and build + run: | + docker-compose pull --ignore-pull-failures + docker-compose build - name: Docker Compose up run: docker-compose up -d @@ -29,7 +34,7 @@ jobs: run: docker ps - name: Run Tests - run: docker exec -e RAILS_ENV=test app_web_1 bundle exec rspec --exclude-pattern="**/features/*_spec.rb" + run: docker exec -e RAILS_ENV=test gala_web_1 bundle exec rspec --exclude-pattern="**/features/*_spec.rb" - name: Docker Compose down run: docker-compose down diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml.bak similarity index 96% rename from .github/workflows/run_tests.yml rename to .github/workflows/run_tests.yml.bak index 65b36bfee..92215c407 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml.bak @@ -1,6 +1,5 @@ name: Run tests on: - pull_request: workflow_dispatch: jobs: