Skip to content

Commit

Permalink
👷 Tweak test GitHub Action names (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Mar 11, 2024
1 parent d43918e commit e56cee9
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ jobs:
with:
python-version: '3.10'

- name: Run tests
run: docker compose build
- name: Docker Compose remove old containers and volumes
run: docker compose down -v --remove-orphans
- name: Docker Compose up
run: docker compose up -d
- run: docker compose build
- run: docker compose down -v --remove-orphans
- run: docker compose up -d
- name: Docker Compose run tests
run: docker compose exec -T backend bash /app/tests-start.sh "Coverage for ${{ github.sha }}"
- name: Docker Compose cleanup
run: docker compose down -v --remove-orphans
- run: docker compose down -v --remove-orphans
- name: Store coverage files
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit e56cee9

Please sign in to comment.