Merge pull request #14191 from ethereum/migration-external-test-ci

Migrate to new external tests script
This commit is contained in:
r0qs 2023-05-06 20:33:53 +02:00 committed by GitHub
commit 29751849b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1251,17 +1251,17 @@ jobs:
equal: [<< parameters.binary_type >>, "solcjs"]
steps:
- run:
name: External << parameters.project >> tests (solcjs)
name: External << parameters.project >> tests (<< parameters.binary_type >>)
command: |
test/externalTests/<< parameters.project >>.sh solcjs /tmp/workspace/soljson.js
test/external_tests.py test --solc-binary-type "<< parameters.binary_type >>" --solc-binary-path /tmp/workspace/soljson.js --run "<< parameters.project >>"
- when:
condition:
equal: [<< parameters.binary_type >>, "native"]
steps:
- run:
name: External << parameters.project >> tests (native)
name: External << parameters.project >> tests (<< parameters.binary_type >>)
command: |
test/externalTests/<< parameters.project >>.sh native /tmp/workspace/solc/solc-static-linux
test/external_tests.py test --solc-binary-type "<< parameters.binary_type >>" --solc-binary-path /tmp/workspace/solc/solc-static-linux --run "<< parameters.project >>"
- store_artifacts:
path: reports/externalTests/
# persist_to_workspace fails if the directory does not exist and the test script will create