GitHub Actions - remove Python 2.7 tests

This commit is contained in:
Guillaume Valadon 2023-01-02 13:49:09 +01:00 committed by gpotter2
parent 44c45d2637
commit 0ea948f2e7
1 changed files with 1 additions and 25 deletions

View File

@ -58,8 +58,6 @@ jobs:
- name: Run mypy
run: tox -e mypy
# https://github.com/actions/runner-images/issues/6399
# Python 2.7 tests must be run on ubuntu <= 20.04
utscapy:
name: ${{ matrix.os }} ${{ matrix.installmode }} ${{ matrix.python }} ${{ matrix.mode }} ${{ matrix.flags }}
runs-on: ${{ matrix.os }}
@ -76,19 +74,11 @@ jobs:
allow-failure: ['false']
include:
# Linux root tests
- os: ubuntu-20.04
python: "2.7"
mode: root
flags: " -K scanner"
- os: ubuntu-latest
python: "3.10"
mode: root
flags: " -K scanner"
# PyPy tests: root only
- os: ubuntu-20.04
python: "pypy2.7"
mode: root
flags: " -K scanner"
- os: ubuntu-latest
python: "pypy3.9"
mode: root
@ -99,31 +89,17 @@ jobs:
mode: root
installmode: 'libpcap'
flags: " -K scanner"
# MacOS tests
- os: macos-12
python: "2.7"
mode: both
flags: " -K scanner"
# macOS tests
- os: macos-12
python: "3.10"
mode: both
flags: " -K scanner"
# Scanner tests
- os: ubuntu-20.04
python: "2.7"
mode: root
allow-failure: 'true'
flags: " -k scanner"
- os: ubuntu-latest
python: "3.10"
mode: root
allow-failure: 'true'
flags: " -k scanner"
- os: ubuntu-20.04
python: "pypy2.7"
mode: root
allow-failure: 'true'
flags: " -k scanner"
- os: ubuntu-latest
python: "pypy3.9"
mode: root