aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/coverage.yml
blob: 4874616e13a791e2d207c81ff3ae261c925e8229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Upload Coverage Reports
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-python@v3
      with:
        python-version: 3.9
    - name: install dependencies
      run: |
        python -m pip install --upgrade pip
        python -mpip install --progress-bar=off -r ci/requirements.txt
        virtualenv --version
        pip --version
        tox --version
        pip list --format=freeze
    - name: upload coverage reports
      run: |
        tox -e clean -v
        tox -e py39 -v
        tox -e report -v
        tox -e codecov -v