File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 matrix :
2222 os : [ubuntu-latest, macos-latest, windows-latest]
2323 python-version : ["3.10", "3.11", "3.12", "3.13"]
24+ fail-fast : false
2425
2526 steps :
2627 - uses : actions/checkout@v4
@@ -32,18 +33,36 @@ jobs:
3233
3334 - name : Show conda installation info
3435 run : |
35- conda install --file=requirements-testing.txt
3636 conda info
3737 conda list
3838
39- - name : Build and install package
40- run : pip install .
41-
4239 - name : Test
4340 run : |
44- pytest --cov=heat --cov-report=xml:./coverage.xml -vvv
41+ pip install nox
42+ nox -s test --force-pythons="${{ matrix.python-version }}"
43+
44+ - name : Run bmi-test
45+ run : |
46+ pip install model-metadata
47+ conda install gimli.units pymt_hydrotrend -c conda-forge
48+ pip install .
4549 bmi-test heat:BmiHeat --config-file=${GITHUB_WORKSPACE}/examples/heat.yaml --root-dir=examples -vvv
4650
4751 - name : Coveralls
48- if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
52+ if : matrix.os == 'ubuntu-latest'
4953 uses : AndreMiras/coveralls-python-action@develop
54+ with :
55+ parallel : true
56+ flag-name : py${{ matrix.python-version }}-${{ matrix.os }}
57+
58+ debug : true
59+
60+ coveralls_finish :
61+ needs : build-and-test
62+ runs-on : ubuntu-latest
63+ steps :
64+ - name : Coveralls Finished
65+ uses : AndreMiras/coveralls-python-action@develop
66+ with :
67+ parallel-finished : true
68+ debug : true
You can’t perform that action at this time.
0 commit comments