-
Notifications
You must be signed in to change notification settings - Fork 7
51 lines (45 loc) · 1.09 KB
/
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
44
45
46
47
48
49
50
51
name: Test Tap
on:
pull_request:
paths-ignore:
- '**/README.md'
push:
branches: [main]
paths-ignore:
- '**/README.md'
jobs:
test_tap:
name: Test Tap connectivity and Configuration
runs-on: ubuntu-latest
env:
PIP_CONSTRAINT: .github/workflows/constraints.txt
strategy:
fail-fast: true
matrix:
include:
- python-version: "3.7"
toxenv: py37
- python-version: "3.8"
toxenv: py38
- python-version: "3.9"
toxenv: py39
- python-version: "3.10"
toxenv: py310
- python-version: "3.11"
toxenv: py311
- python-version: "3.11"
toxenv: deps
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install Tox
run: |
pipx install tox
- name: Test tap
run: |
tox -e ${{ matrix.toxenv }}