- name: Python 3 integration tests
run: PYTHONPATH=. python3 ./tests/integration_tests.py
+ ubuntu-2004:
+ name: Ubuntu 20.04
+ runs-on: ubuntu-latest
+ container: ubuntu:20.04
+ steps:
+ - run: apt update
+ - run: |
+ apt -y install \
+ python-pytest \
+ python-yaml \
+ python3-pytest \
+ python3-yaml
+ - uses: actions/checkout@v1
+
+ - name: Python 2 unit tests
+ run: PYTHONPATH=. pytest
+ - name: Python 2 integration tests
+ run: PYTHONPATH=. python2 ./tests/integration_tests.py
+
+ - name: Python 3 unit tests
+ run: PYTHONPATH=. pytest-3
+ - name: Python 3 integration tests
+ run: PYTHONPATH=. python3 ./tests/integration_tests.py
+
ubuntu-1804:
name: Ubuntu 18.04
runs-on: ubuntu-latest