File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - cron : ' 41 16 * * *' # Every day at 16:41 UTC (to avoid high load at exact hour values).
88
99jobs :
10- Testing :
10+ tests-full-install :
11+ name : Run tests with full install
1112 runs-on : ${{ matrix.os }}
1213 strategy :
1314 fail-fast : false # Ensure matrix jobs keep running even if one fails
3031 with :
3132 token : ${{ secrets.CODECOV_TOKEN }}
3233
34+ tests-default-install :
35+ name : Run (most) tests with default install
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v4
39+ - name : Set up PDM
40+ uses : pdm-project/setup-pdm@v4
41+ with :
42+ python-version : ${{ matrix.python-version }}
43+ - name : Install default (without any option) and test dependencies
44+ run : pdm install --group test --frozen-lockfile
45+ - name : Run unit and doc tests with coverage report
46+ run : |
47+ pdm run pytest tests/unit tests/doc
48+ --ignore tests/unit/aggregation/test_cagrad.py
49+ --ignore tests/unit/aggregation/test_nash_mtl.py
50+ --ignore tests/doc/test_aggregation.py
51+ --cov=src --cov-report=xml
52+ - name : Upload results to Codecov
53+ uses : codecov/codecov-action@v4
54+ with :
55+ token : ${{ secrets.CODECOV_TOKEN }}
56+
3357 build-doc :
3458 name : Build doc
3559 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments