Converting OrderedDict to dict #58
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: | |
branches: [ main ] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
PYTHON: '3.11' | |
steps: | |
- uses: actions/checkout@main | |
- name: Setup Python | |
uses: actions/setup-python@main | |
with: | |
python-version: '3.11' | |
- name: Generate coverage report | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" | |
python -m pip install --upgrade pip | |
python -m pip install -e . | |
python -m pip install -e . | |
python -m pip install pytest | |
python -m pip install pytest-cov | |
pytest --cov=tap --cov-report=xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage.xml | |
flags: unittests | |
env_vars: OS,PYTHON | |
name: codecov-umbrella | |
verbose: true |