We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5437e0e commit 727acc4Copy full SHA for 727acc4
.github/workflows/pythonpackage.yml
@@ -0,0 +1,34 @@
1
+name: Python package
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - 'python/**'
7
8
+jobs:
9
+ build:
10
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ max-parallel: 4
14
+ matrix:
15
+ python-version: [3.6, 3.7]
16
+ steps:
17
+ - uses: actions/checkout@v1
18
+ - name: Set up Python ${{ matrix.python-version }}
19
+ uses: actions/setup-python@v1
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ make dev
26
+ working-directory: ./python/
27
+ - name: Formatting and Linting
28
29
+ make lint
30
31
+ - name: Test with pytest
32
33
+ make test
34
0 commit comments