-
-
Notifications
You must be signed in to change notification settings - Fork 164
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- run: python -m pip install coverage tox
- run: python -m tox
- uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4.3.1
with:
name: ${{ matrix.python }}
token: ${{ secrets.CODECOV_TOKEN }}