Skip to content

Commit 85d0363

Browse files
authored
Add ci.yml (#7)
1 parent fae7c0c commit 85d0363

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: CI
3+
4+
on:
5+
push:
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
tests:
11+
name: tox on ${{ matrix.python-version }}
12+
runs-on: ubuntu-latest
13+
env:
14+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11'
15+
16+
strategy:
17+
matrix:
18+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
- uses: actions/setup-python@v4
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
python -VV
28+
python -m site
29+
python -m pip install --upgrade pip setuptools wheel
30+
python -m pip install --upgrade coverage[toml] tox tox-gh-actions
31+
32+
- name: Run tox targets for ${{ matrix.python-version }}
33+
run: python -m tox

0 commit comments

Comments
 (0)