mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add a CI job for running Python unit tests
This commit is contained in:
parent
aae271e399
commit
cf147fac7a
@ -414,6 +414,26 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- run: *run_docs_pragma_min_version
|
- 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
|
b_ubu_clang: &build_ubuntu2004_clang
|
||||||
resource_class: xlarge
|
resource_class: xlarge
|
||||||
docker:
|
docker:
|
||||||
@ -991,6 +1011,8 @@ workflows:
|
|||||||
- chk_errorcodes: *workflow_trigger_on_tags
|
- chk_errorcodes: *workflow_trigger_on_tags
|
||||||
- chk_antlr_grammar: *workflow_trigger_on_tags
|
- chk_antlr_grammar: *workflow_trigger_on_tags
|
||||||
- chk_docs_pragma_min_version: *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
|
# build-only
|
||||||
- b_docs: *workflow_trigger_on_tags
|
- b_docs: *workflow_trigger_on_tags
|
||||||
|
Loading…
Reference in New Issue
Block a user