Update CI to test 18.04, 20.04, and 22.04 (#1100)

* Fix requirements.txt for Python 3.6

* Install coverage from setup-test-tools.sh

* Update CI to test Ubuntu 18.04, 20.04, and 22.04
pull/1101/head
Gulshan Singh 3 years ago committed by GitHub
parent 7c53bdeaa8
commit 2bde0cc1d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,8 +4,9 @@ on: [push, pull_request]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:

@ -0,0 +1,2 @@
coverage==6.4.4; python_version >= '3.7'
coverage==6.2; python_version < '3.7'

@ -13,10 +13,13 @@ pycparser==2.21
pyelftools==0.28
Pygments==2.12.0
pyparsing==3.0.9
pytest==7.1.2
pytest==7.1.2; python_version >= '3.7'
pytest==7.0.1; python_version < '3.7'
python-ptrace==0.9.8
ROPGadget==6.8
six==1.16.0
testresources==2.0.1
tomli==2.0.1
unicorn==2.0.0
tomli==2.0.1; python_version >= '3.7'
tomli==1.2.3; python_version < '3.7'
unicorn==2.0.0; python_version >= '3.7'
unicorn==2.0.0rc7; python_version < '3.7'

@ -54,7 +54,6 @@ install_apt() {
mv /tmp/zig-linux-x86_64-* ${ZIGPATH} 2>/dev/null >/dev/null || true
echo "Zig installed to ${ZIGPATH}"
}
if linux; then
@ -74,4 +73,6 @@ if linux; then
fi
;;
esac
python3 -m pip install -r dev-requirements.txt
fi

Loading…
Cancel
Save