Install and use toml conditionally on Python2 (#88) #86
Workflow file for this run
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: Code Coverage | |
on: | |
push: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
coverage: | |
if: github.repository_owner == 'arkq' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Generate Coverage Report | |
run: | | |
python -m pip install --upgrade pip | |
pip install coverage setuptools | |
coverage run --include=src/* setup.py pytest | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v3 |