File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,18 +15,20 @@ concurrency:
1515jobs :
1616 warning_test :
1717 name : Warning Test
18+ env :
19+ PYTEST_OPTIONS : ${{ case(matrix.coverage == true, '--cov=pyuvdata --cov-config=.coveragerc --cov-report xml:coverage.xml', '') }}
1820 runs-on : ubuntu-latest
1921 strategy :
2022 fail-fast : false
2123 matrix :
2224 include :
2325 - python-version : 3.13
2426 pip-options : " dev"
25- pytest-options : " --cov=pyuvdata --cov-config=.coveragerc --cov-report xml:coverage.xml "
27+ coverage : true
2628 # currently (April 2026), python-casacore does not build properly from pypi on python 3.14
2729 - python-version : 3.14
2830 pip-options : " test"
29- pytest-options : " "
31+ coverage : false
3032 steps :
3133 - uses : actions/checkout@main
3234 with :
4850
4951 - name : Run Tests
5052 run : |
51- pytest -W error -n auto ${{ matrix.pytest-options }}
53+ pytest -W error -n auto ${{ env.PYTEST_OPTIONS }}
5254
5355 - uses : codecov/codecov-action@v5
5456 if : success()
You can’t perform that action at this time.
0 commit comments