-
Notifications
You must be signed in to change notification settings - Fork 72
41 lines (34 loc) · 944 Bytes
/
python3.yaml
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
name: python3
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
testing:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
twisted-version: [tx18, tx19, tx20, tx21, tx22, tx23, tx24]
include:
- python-version: "3.11"
twisted-version: "tx24"
- python-version: "3.12"
twisted-version: "tx24"
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip tox tox-gh-actions
- name: Unit-Test
run: |
python -m tox -e py3-${{ matrix.twisted-version }}
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}