aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/coverage.yml
blob: 18ea7afe87850a4d8431df8cc518f82f589e0a28 (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.11
    - 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 py311 -v
        tox -e report -v
        tox -e codecov -v