We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6e4ff4 commit 97c817cCopy full SHA for 97c817c
1 file changed
.github/workflows/python.yml
@@ -0,0 +1,38 @@
1
+name: Test
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - 'master'
7
+ push:
8
9
10
11
+defaults:
12
+ run:
13
+ shell: bash
14
15
+jobs:
16
+ test:
17
+ name: pytest
18
+ strategy:
19
+ matrix:
20
+ os: [ubuntu-latest]
21
+ python-version: ['2.7', '3.4', '3.5', '3.6']
22
+ include:
23
+ - os: ubuntu-18.04
24
+ python-version: '3.4'
25
+ exclude:
26
+ - os: ubuntu-latest
27
28
+ fail-fast: false
29
+ runs-on: ${{ matrix.os }}
30
+ steps:
31
+ - uses: actions/checkout@v3
32
+ - name: Set up Python
33
+ uses: actions/setup-python@v3
34
+ with:
35
+ python-version: ${{ matrix.python-version }}
36
+ cache: 'pip'
37
+ - run: pip install -r requirements.txt
38
+ - run: pytest
0 commit comments