Merge pull request #1136 from jeffwidman/patch-1 #483
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: Test Coverage | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
test_coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install Flit | |
run: pip install flit | |
- name: Install Dependencies | |
run: flit install --symlink | |
- name: Test | |
run: pytest --cov=ninja --cov-report=xml tests | |
- name: Coverage | |
uses: codecov/codecov-action@v2.1.0 |