Skip to content

Commit 8c88bb0

Browse files
committed
Add a CI job for running Python unit tests
1 parent 0ecf6d6 commit 8c88bb0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.circleci/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,26 @@ jobs:
414414
- checkout
415415
- run: *run_docs_pragma_min_version
416416

417+
t_pyscripts_ubu:
418+
docker:
419+
- image: << pipeline.parameters.ubuntu-2004-docker-image >>
420+
steps:
421+
- checkout
422+
- run:
423+
name: Python unit tests
424+
command: python3 test/pyscriptTests.py
425+
426+
t_pyscripts_win:
427+
executor:
428+
name: win/default
429+
shell: powershell.exe
430+
steps:
431+
- run: git config --global core.autocrlf false
432+
- checkout
433+
- run:
434+
name: Python unit tests
435+
command: python.exe test/pyscriptTests.py
436+
417437
b_ubu_clang: &build_ubuntu2004_clang
418438
resource_class: xlarge
419439
docker:
@@ -991,6 +1011,8 @@ workflows:
9911011
- chk_errorcodes: *workflow_trigger_on_tags
9921012
- chk_antlr_grammar: *workflow_trigger_on_tags
9931013
- chk_docs_pragma_min_version: *workflow_trigger_on_tags
1014+
- t_pyscripts_ubu: *workflow_trigger_on_tags
1015+
- t_pyscripts_win: *workflow_trigger_on_tags
9941016

9951017
# build-only
9961018
- b_docs: *workflow_trigger_on_tags

0 commit comments

Comments
 (0)