Add support for Neutron #68
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
# This workflow will install Python dependencies, run tests with code coverage and upload the results to Codecov | |
name: Code Coverage | |
on: [push, pull_request] | |
jobs: | |
code_coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
- name: Run tests and collect coverage | |
run: | | |
coverage run -m unittest discover | |
coverage xml -o coverage.xml | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 |