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 1762d99 commit 5a44906Copy full SHA for 5a44906
.github/workflows/test.yml
@@ -0,0 +1,30 @@
1
+name: 'test'
2
+
3
+on:
4
+ push:
5
6
+jobs:
7
+ test:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ python-version: [3.6, 3.7, 3.8, 3.9]
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Python ${{ matrix.python-version }}
15
+ uses: actions/setup-python@v2
16
+ with:
17
+ python-version: ${{ matrix.python-version }}
18
+ - name: Install dependencies
19
+ run: |
20
+ pip install pycodestyle
21
+ pip install pylint
22
+ pip install pytest
23
+ pip install .
24
+ - name: Lint
25
26
+ pycodestyle openflow
27
+ pylint -s n openflow
28
+ git diff --check --cached
29
+ - name: Test
30
+ run: pytest test
0 commit comments