Skip to content

Commit 7d0d5ca

Browse files
committed
testing actions
1 parent 396bfd8 commit 7d0d5ca

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/tests.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run tests
1+
name: Unit Tests
22

33
on:
44
push:
@@ -9,11 +9,18 @@ on:
99
- master
1010

1111
jobs:
12-
tests-python-3:
13-
runs-on: ubuntu-latest
12+
tests-python2:
13+
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+
runs-on: ubuntu-20.04
1421
steps:
1522
- uses: actions/checkout@v2
1623
- name: install requirements
17-
run: pip install -r requirements-3.txt
24+
run: pip3 install -r requirements-3.txt
1825
- name: run the tests
19-
run: python tests.py
26+
run: python3 tests.py

0 commit comments

Comments
 (0)