Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
chore(ci): use run instead of exec in test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Apr 12, 2024
1 parent ee7fc3f commit 131857a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
docker-compose up -d --build backend
- name: Lint the code
run: |
docker-compose exec -T backend black --check .
docker-compose exec -T backend flake8
docker-compose exec -T backend python manage.py makemigrations --check --dry-run --no-input
docker-compose run --rm backend black --check .
docker-compose run --rm backend flake8
docker-compose run --rm backend python manage.py makemigrations --check --dry-run --no-input
- name: Run pytest
run: docker-compose exec -T backend pytest --no-cov-on-fail --cov --create-db -vv
run: docker-compose run --rm backend pytest --no-cov-on-fail --cov --create-db -vv

0 comments on commit 131857a

Please sign in to comment.