Skip to content

Commit

Permalink
Code coverage. Take falconry#2.
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Aug 5, 2020
1 parent bed37cc commit 6cd267d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 10
curl -sSL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
sudo python /tmp/get-pip.py
sudo pip install tox
sudo pip install codecov tox
- name: Install smoke test dependencies
if: ${{ matrix.toxenv == 'py38_smoke' || matrix.toxenv == 'py38_smoke_cython' }}
Expand All @@ -89,17 +89,18 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coverage tox
pip install codecov tox
python --version
pip --version
tox --version
coverage --version
- name: Run tests
run: tox -e ${{ matrix.toxenv }}

- name: Upload code coverage
if: ${{ matrix.toxenv == 'py35' || matrix.toxenv == 'py38' }}
run: |
codecov --version
coverage --version
coverage combine
codecov

0 comments on commit 6cd267d

Please sign in to comment.