Skip to content

Commit

Permalink
run instead of exec
Browse files Browse the repository at this point in the history
  • Loading branch information
henrixapp committed Dec 23, 2020
1 parent 72954be commit c2690bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
- name: Install dependencies
working-directory: docker/development
run: |
docker-compose exec mampf sh -c "RAILS_ENV=test rails db:create"
docker-compose exec mampf sh -c "RAILS_ENV=test rails db:migrate"
docker-compose exec mampf sh -c "RAILS_ENV=test rails db:test:prepare"
docker-compose run mampf sh -c "RAILS_ENV=test rails db:create"
docker-compose run mampf sh -c "RAILS_ENV=test rails db:migrate"
docker-compose run mampf sh -c "RAILS_ENV=test rails db:test:prepare"
- name: Create database
working-directory: docker/development
run: |
docker-compose exec mampf sh -c "RAILS_ENV=test rake sunspot:reindex"
docker-compose run mampf sh -c "RAILS_ENV=test rake sunspot:reindex"
- name: Run tests
working-directory: docker/development
run: docker-compose exec mampf sh -c "RAILS_ENV=test rails spec"
run: docker-compose run mampf sh -c "RAILS_ENV=test rails spec"
- name: Send test coverage report to codecov.io
uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit c2690bb

Please sign in to comment.