Skip to content

Commit

Permalink
Fix coveralls action
Browse files Browse the repository at this point in the history
  • Loading branch information
lrzpellegrini committed Feb 2, 2024
1 parent e4b11ef commit a11cd31
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test-coverage-coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,23 @@ jobs:
- name: install coverage.py and coverralls
run: |
pip install coverage coveralls
- name: install pytest-xdist and pytest-cov
run: |
pip install pytest-xdist pytest-cov
- name: download datasets
env:
FAST_TEST: "True"
USE_GPU: "False"
PYTHONPATH: ${{ github.workspace }}
run: |
pytest ./tests/benchmarks/scenarios/deprecated/test_high_level_generators.py::HighLevelGeneratorTests::test_filelist_benchmark ./tests/benchmarks/scenarios/deprecated/test_nc_mt_scenario.py::MultiTaskTests::test_mt_single_dataset
- name: python unit test
id: unittest
env:
FAST_TEST: "True"
USE_GPU: "False"
PYTHONPATH: ${{ github.workspace }}
run: |
pip install pytest-xdist pytest-cov &&
mkdir coverage &&
pytest --cov=. -n 4 tests &&
mv .coverage coverage_unit_tests &&
Expand Down

0 comments on commit a11cd31

Please sign in to comment.