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 9a01988 commit fb8aa8cCopy full SHA for fb8aa8c
.github/workflows/pr.yml
@@ -0,0 +1,31 @@
1
+name: PR Test
2
+
3
+on: [pull_request]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ python: [2.7, 3.6]
12
13
+ steps:
14
+ - uses: actions/checkout@v2
15
16
+ - name: Setup Python
17
+ uses: actions/setup-python@v2
18
+ with:
19
+ python-version: ${{ matrix.python }}
20
21
+ - name: Install pynetbox and testing packages.
22
+ run: pip install . pycodestyle mock
23
24
+ - name: Run Linter
25
+ run: |
26
+ pycodestyle pynetbox
27
+ pycodestyle --ignore=E501 tests
28
29
+ - name: Run Tests
30
+ run: python -m unittest discover
31
0 commit comments