Merge pull request #283 from DavAug/issue-282-minor-bug-fixes #681
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Coverage | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| build-and-test: | |
| name: coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: set up Python 3.13 | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.13 | |
| architecture: x64 | |
| - name: install sundials | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install libsundials-dev | |
| - name: install chi | |
| run: | | |
| python --version | |
| python -m pip install --upgrade pip setuptools wheel | |
| python -m pip install . | |
| python -m pip install coverage codecov | |
| - name: run coverage | |
| run: | | |
| coverage run run-tests.py --unit | |
| - name: codecov | |
| if: success() | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| run: | | |
| codecov |