Skip to content

Commit

Permalink
Try without explicitly loading the db
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Oct 7, 2023
1 parent 36fbf53 commit 4d942b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/prepare-docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ runs:
tags: reverser:test

- name: Set docker run command
run: echo "DOCKER_RUN=docker compose run --rm -e RAILS_ENV=test -e REVERSER_DATA_PATH=$RUNNER_TEMP -e CI=true" >> "$GITHUB_ENV"
run: echo "DOCKER_RUN=docker compose run --rm -e CI=true" >> "$GITHUB_ENV"
shell: bash
3 changes: 0 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/prepare-docker-image

- name: Create DB
run: $DOCKER_RUN reverser bin/rails db:schema:load

- name: Run Tests
run: $DOCKER_RUN tests

Expand Down

0 comments on commit 4d942b6

Please sign in to comment.