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"]
24+ fail-fast : false
2425
2526 steps :
2627 - uses : actions/checkout@v4
@@ -33,18 +34,36 @@ jobs:
3334
3435 - name : Show conda installation info
3536 run : |
36- conda install --file=requirements-testing.txt
3737 conda info
3838 conda list
3939
40- - name : Build and install package
41- run : pip install .
42-
4340 - name : Test
4441 run : |
45- pytest --cov=heat --cov-report=xml:./coverage.xml -vvv
42+ pip install nox
43+ nox -s test --force-pythons="${{ matrix.python-version }}"
44+
45+ - name : Run bmi-test
46+ run : |
47+ pip install model-metadata
48+ conda install gimli.units pymt_hydrotrend -c conda-forge
49+ pip install .
4650 bmi-test heat:BmiHeat --config-file=./examples/heat.yaml --root-dir=./examples -vvv
4751
4852 - name : Coveralls
49- if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
53+ if : matrix.os == 'ubuntu-latest'
5054 uses : AndreMiras/coveralls-python-action@develop
55+ with :
56+ parallel : true
57+ flag-name : py${{ matrix.python-version }}-${{ matrix.os }}
58+
59+ debug : true
60+
61+ coveralls_finish :
62+ needs : build-and-test
63+ runs-on : ubuntu-latest
64+ steps :
65+ - name : Coveralls Finished
66+ uses : AndreMiras/coveralls-python-action@develop
67+ with :
68+ parallel-finished : true
69+ debug : true
You can’t perform that action at this time.
0 commit comments