gating: run bundled tests instead of just import

This commit is contained in:
Lukáš Zachar 2025-09-26 15:22:40 +02:00 committed by Lumir Balhar
parent 8ba56d83c1
commit f05f7a025b

View File

@ -6,8 +6,12 @@ environment:
discover:
how: shell
dist-git-source: true
tests:
- name: import_test
test: "python${pybasever} -c 'import ply'"
- name: bundled tests
test: |
cd $TMT_SOURCE_DIR/ply-*/test &&
python${pybasever} testyacc.py &&
python${pybasever} testlex.py
require:
- "python${pybasever}-ply"
- python${pybasever}-ply