Fix tests #14
This file contains 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: CodeCov | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: windows-latest | |
env: | |
OS: windows-latest | |
PYTHON: '3.12' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: ‘2’ | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Generate Report | |
run: | | |
pip install pytest pytest-cov shapely matplotlib | |
pytest --cov=sundialy --cov-report=xml | |
coverage report --show-missing | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v2 |