Skip to content

Commit

Permalink
Switch to PyPy3.10 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 committed Apr 29, 2024
1 parent 01aeed2 commit 4cde487
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
flags: " -K scanner"
# PyPy tests: root only
- os: ubuntu-latest
python: "pypy3.9"
python: "pypy3.10"
mode: root
flags: " -K scanner"
# Libpcap test
Expand All @@ -112,7 +112,7 @@ jobs:
allow-failure: 'true'
flags: " -k scanner"
- os: ubuntu-latest
python: "pypy3.9"
python: "pypy3.10"
mode: root
allow-failure: 'true'
flags: " -k scanner"
Expand Down
2 changes: 1 addition & 1 deletion test/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ then
export SIMPLE_TESTS="true"
export PYTHON
export DISABLE_COVERAGE=" "
PYVER=$($PYTHON -c "import sys; print('.'.join(sys.version.split('.')[:2]))")
PYVER=$($PYTHON -c "import sys,platform; print(('pypy' if platform.python_implementation() == 'PyPy' else '') + '.'.join(sys.version.split('.')[:2]))")
bash ${DIR}/.config/ci/test.sh $PYVER non_root
exit $?
fi
Expand Down

0 comments on commit 4cde487

Please sign in to comment.