Skip to content

Commit fe8c04d

Browse files
initial draft CI (#450)
* initial draft * Update test.yml Use test.txt requirement * try tox * install tox * update Co-authored-by: saschahofmann <[email protected]>
1 parent ae29571 commit fe8c04d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python-version: ['3.7', '3.8', '3.9', 'pypy-3.9']
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v3
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install tox tox-gh-actions
27+
- name: Test with tox
28+
run: tox -vv

0 commit comments

Comments
 (0)