From 838858af8f1cc92edf35452a5bd76c0186bc132c Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Tue, 4 May 2021 14:17:07 +0200 Subject: [PATCH] Install pytest form git commit --- smoke/venv.sh | 6 +++++- tests.yml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/smoke/venv.sh b/smoke/venv.sh index 262ff13..53d0ffa 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -50,7 +50,11 @@ if [ "$VERSION" == "2.6" ]; then pip install pytest pip install Cython --install-option="--no-cython-compile" else - python -m pip install pytest + if [ "$VERSION" == "3.10" ]; then + python -m pip install https://github.com/pytest-dev/pytest/archive/refs/heads/main.zip + else + python -m pip install pytest + fi if [ "$PYTHON" != "jython" ]; then # We try to fetch a wheel only and if that fails, we disable compilation # Useful for fresh CPythons, where wheels are not yet ready, but Cython defaults to compiling diff --git a/tests.yml b/tests.yml index 9d49567..3c11dde 100644 --- a/tests.yml +++ b/tests.yml @@ -57,7 +57,7 @@ run: VERSION=3.8 PYTHON="python3-debug" X="test_ssl" ./parallel.sh - debugflags: dir: flags - run: python3-debug ./assertflags.py -Og + run: python3-debug ./assertflags.py -O0 - marshalparser_compatibility: dir: marshalparser run: SAMPLE=10 test_marshalparser_compatibility.sh