Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 24 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,40 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
fail-fast: false

steps:
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
miniforge-version: latest
python-version: ${{ matrix.python-version }}

- name: Show conda installation info
- name: Test
run: |
conda info
conda list

- name: Build and install package
run: pip install -e .[testing]
pip install nox
nox -s test

- name: Test
- name: Run bmi-test
run: |
pytest --cov=heat --cov-report=xml:./coverage.xml -vvv
pip install .[testing] gimli.units
bmi-test heat:BmiHeat --config-file=${GITHUB_WORKSPACE}/examples/heat.yaml --root-dir=examples -vvv

- name: Coveralls
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
if: matrix.os == 'ubuntu-latest'
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
flag-name: py${{ matrix.python-version }}-${{ matrix.os }}

debug: true

coveralls_finish:
needs: build-and-test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true
debug: true
7 changes: 0 additions & 7 deletions MANIFEST.in

This file was deleted.

92 changes: 0 additions & 92 deletions Makefile

This file was deleted.

3 changes: 2 additions & 1 deletion heat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from ._version import __version__
from .bmi_heat import BmiHeat
from .heat import Heat, solve_2d
from .heat import Heat
from .heat import solve_2d

__all__ = ["__version__", "BmiHeat", "solve_2d", "Heat"]
Loading
Loading