• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: CI
2
3on: [push, pull_request, workflow_dispatch]
4
5jobs:
6  main:
7    name: Python ${{ matrix.python }}
8    runs-on: ubuntu-20.04
9    strategy:
10      fail-fast: false
11      matrix:
12        python: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy-3.6", "pypy-3.7"]
13    steps:
14      - uses: actions/checkout@v2
15      - uses: actions/setup-python@v2
16        with:
17          python-version: ${{ matrix.python }}
18      - run: python -m pip install coverage tox
19      - run: python -m tox
20      - uses: codecov/codecov-action@v1
21        with:
22          name: ${{ matrix.python }}
23