We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 584c7e2 commit a31fc6aCopy full SHA for a31fc6a
1 file changed
.github/workflows/run-tests.yml
@@ -0,0 +1,34 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ strategy:
15
+ matrix:
16
+ python-version: ['2.7', '3.6', '3.7', '3.8']
17
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v2
22
+ with:
23
+ python-version: ${{ matrix.python-version }}
24
+ - name: Install dependencies
25
+ run: |
26
+ python -m pip install --upgrade pip
27
+ pip install flake8 pytest
28
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29
+ - name: Test Tasks
30
+ run: python tests/unit/testTask.py
31
+ - name: Test Jobs
32
+ run: python tests/unit/testJob.py
33
+ - name: Test Webhooks
34
+ run: python tests/unit/testWebhookSignature.py
0 commit comments