Skip to content

Commit

Permalink
more trial and error
Browse files Browse the repository at this point in the history
  • Loading branch information
papes1ns committed Apr 17, 2024
1 parent 23721cb commit 08b1fde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Run tests
on:
pull_request:
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 08b1fde

Please sign in to comment.