Skip to content

Commit

Permalink
[Tests] Code cov (#33)
Browse files Browse the repository at this point in the history
* code cov

* code cov
  • Loading branch information
matteobettini authored Oct 21, 2023
1 parent 1a98555 commit bb0ec17
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pettingzoo_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ jobs:
- name: Test with pytest
run: |
xvfb-run -s "-screen 0 1024x768x24" pytest test/test_pettingzoo.py --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html
- name: Upload test coverage
uses: codecov/codecov-action@v2
2 changes: 2 additions & 0 deletions .github/workflows/smacv2_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ jobs:
echo 'SC2PATH is set to ' "$SC2PATH"
pytest test/test_smacv2.py --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html
- name: Upload test coverage
uses: codecov/codecov-action@v2
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ jobs:
- name: Test with pytest
run: |
pytest test/ --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html
- name: Upload test coverage
uses: codecov/codecov-action@v2
2 changes: 2 additions & 0 deletions .github/workflows/vmas_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ jobs:
- name: Test with pytest
run: |
xvfb-run -s "-screen 0 1024x768x24" pytest test/test_vmas.py --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html
- name: Upload test coverage
uses: codecov/codecov-action@v2

0 comments on commit bb0ec17

Please sign in to comment.