Add a CI job for running Python unit tests

This commit is contained in:
Kamil Śliwak 2021-01-19 15:48:39 +01:00
parent aae271e399
commit cf147fac7a

View File

@ -414,6 +414,26 @@ jobs:
- checkout
- run: *run_docs_pragma_min_version
t_pyscripts_ubu:
docker:
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
steps:
- checkout
- run:
name: Python unit tests
command: python3 test/pyscriptTests.py
t_pyscripts_win:
executor:
name: win/default
shell: powershell.exe
steps:
- run: git config --global core.autocrlf false
- checkout
- run:
name: Python unit tests
command: python.exe test/pyscriptTests.py
b_ubu_clang: &build_ubuntu2004_clang
resource_class: xlarge
docker:
@ -991,6 +1011,8 @@ workflows:
- chk_errorcodes: *workflow_trigger_on_tags
- chk_antlr_grammar: *workflow_trigger_on_tags
- chk_docs_pragma_min_version: *workflow_trigger_on_tags
- t_pyscripts_ubu: *workflow_trigger_on_tags
- t_pyscripts_win: *workflow_trigger_on_tags
# build-only
- b_docs: *workflow_trigger_on_tags