diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a54885..8f58a9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,8 +14,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: PreCompile assets - run: ./rails assets:precompile RAILS_ENV=test + run: ./docker_compose --profile test run --rm --build test rails assets:precompile - name: Create database - run: ./rails db:create + run: ./docker_compose --profile test run --rm --build test rails db:create - name: Run tests on docker compose - run: ./rails test + run: ./docker_compose --profile test run --rm --build test rails test