summaryrefslogtreecommitdiff
path: root/.github/workflows/coverage.yml
blob: 3edc62750950721728cf9c7e69665efdb179dbcc (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: Coverage

on:
  push:
  pull_request:
  release:
    types: [published]

jobs:
  coverage:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Python
      uses: actions/setup-python@v3
      with:
        python-version: "3.10"
    - name: Install tox
      run: python -m pip install tox
    - name: Collect & Upload Coverage
      # codecov.io is too flaky to fail for this right now
      continue-on-error: true
      run: python -m tox -e py39-format-codecov
      env:
        CODECOV_TOKEN: 2b38dae1-41c4-4435-a29d-79a1299e5617