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 396bfd8 commit 7d0d5caCopy full SHA for 7d0d5ca
.github/workflows/tests.yaml
@@ -1,4 +1,4 @@
1
-name: Run tests
+name: Unit Tests
2
3
on:
4
push:
@@ -9,11 +9,18 @@ on:
9
- master
10
11
jobs:
12
- tests-python-3:
13
- runs-on: ubuntu-latest
+ tests-python2:
+ runs-on: ubuntu-20.04
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - run: sudo apt install python2
17
+ - run: pip2 install -r requirements-2.txt
18
+ - run: python2 tests.py
19
+ tests-python3:
20
21
steps:
22
- uses: actions/checkout@v2
23
- name: install requirements
- run: pip install -r requirements-3.txt
24
+ run: pip3 install -r requirements-3.txt
25
- name: run the tests
- run: python tests.py
26
+ run: python3 tests.py
0 commit comments