-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 857 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
on:
push:
branches:
- main
pull_request:
branches:
- main
name: Run tests
jobs:
tox_test:
name: Tox tests
steps:
- uses: actions/checkout@v3
- name: Run Tox tests
id: test
uses: fedora-python/tox-github-action@main
with:
tox_env: ${{ matrix.tox_env }}
strategy:
matrix:
tox_env:
- py38-pytest7
- py38-pytest8
- py39-pytest7
- py39-pytest8
- py310-pytest7
- py310-pytest8
- py311-pytest7
- py311-pytest8
- py312-pytest7
- py312-pytest8
# Use GitHub's Linux Docker host
runs-on: ubuntu-latest
pre_cmmit:
name: Pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0