Convert tests to Python 3

Fix #938
This commit is contained in:
Lorenzo Bolla
2022-01-27 11:35:35 +01:00
parent a40cfc679c
commit 035d5314b0
27 changed files with 241 additions and 284 deletions
+4 -4
View File
@@ -19,7 +19,7 @@ env:
jobs:
build:
name: test
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.allow_failure }}
strategy:
fail-fast: true
@@ -55,16 +55,16 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 2.7.17
python-version: 3.9
- name: Install O/S packages
run: |
sudo apt-get update
sudo apt-get install -y python-virtualenv graphviz gnupg1 gnupg2 gpgv1 gpgv2 git gcc make
sudo apt-get install -y graphviz gnupg1 gnupg2 gpgv1 gpgv2 git gcc make
- name: Install Python packages
run: |
pip install six packaging appdirs
pip install six packaging appdirs virtualenv
pip install -U pip setuptools
pip install -r system/requirements.txt