python/tests.yml
Lumir Balhar 86842acd1b Add marshalparser to Python tests
Marshalparser helps us to uniform byte-compiled Python files
so it has to be able to also parse pyc files from
the main python packages.
Moreover, it has its own database of magic numbers so this test
checks that the parser is compatible with the latest python before
we ship it.
2020-07-30 07:50:39 +02:00

85 lines
2.3 KiB
YAML

---
- hosts: localhost
tags:
- classic
tasks:
- dnf:
name: "*"
state: latest
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- smoke_default:
dir: smoke
run: ./venv.sh
- smoke27:
dir: smoke
run: VERSION=2.7 METHOD=virtualenv ./venv.sh
- smoke27_seeder_pip:
dir: smoke
run: VERSION=2.7 METHOD=virtualenv-seeder-pip ./venv.sh
- smoke35:
dir: smoke
run: VERSION=3.5 METHOD=virtualenv-no-download ./venv.sh
- smoke36:
dir: smoke
run: VERSION=3.6 METHOD=venv TOX=false ./venv.sh
- smoke37:
dir: smoke
run: VERSION=3.7 METHOD=venv ./venv.sh
- smoke38:
dir: smoke
run: VERSION=3.8 METHOD=venv ./venv.sh
- smoke39:
dir: smoke
run: VERSION=3.9 METHOD=venv ./venv.sh
- smoke39_seeder_pip:
dir: smoke
run: VERSION=3.9 METHOD=virtualenv-seeder-pip ./venv.sh
- smoke34_optional:
dir: smoke
run: VERSION=3.4 METHOD=venv INSTALL_OR_SKIP=true ./venv.sh
- smokepypy:
dir: smoke
run: VERSION=2.7 METHOD=virtualenv PYTHON=pypy ./venv.sh
- smokepypy3:
dir: smoke
run: VERSION=3.6 METHOD=venv PYTHON=pypy3 ./venv.sh
- selftest37:
dir: selftest
run: VERSION=3.7 X="-x test_socket -x test_asyncgen -x test_asyncio -x test_compile -x test_concurrent_futures -x test_itertools -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_shutil -x test_time -x test_multiprocessing_spawn -x test_threading -x test_wsgiref" ./parallel.sh
- debugtest38:
dir: selftest
run: VERSION=3.8 PYTHON="python3-debug" X="test_ssl" ./parallel.sh
- debugflags:
dir: flags
run: python3-debug ./assertflags.py -Og
- marshalparser_compatibility:
dir: marshalparser
run: SAMPLE=10 test_marshalparser_compatibility.sh
required_packages:
- dnf
- gcc
- virtualenv
- python2.7
- python3.5
- python3.6
- python3.7
- python3.8
- python3.9
- pypy
- pypy3
- python2-devel
- python3-devel
- pypy-devel
- pypy3-devel
- python3-tox
- python3-tkinter
- python3-test
- python3-debug
- python3-rpm-macros
- marshalparser