-
Notifications
You must be signed in to change notification settings - Fork 162
27 lines (24 loc) · 839 Bytes
/
ci.yml
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
26
27
name: CI
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
jobs:
main:
name: Python ${{ matrix.python }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10"]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- run: python -m pip install coverage tox
- run: python -m tox
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
name: ${{ matrix.python }}
token: ${{ secrets.CODECOV_TOKEN }}