Fix ci parameters style

This commit is contained in:
Rodrigo Q. Saramago 2023-04-19 00:57:00 +02:00
parent a968f1a18c
commit f53c0375de
No known key found for this signature in database
GPG Key ID: 9B36B2525704A359

View File

@ -1249,14 +1249,14 @@ jobs:
type: boolean type: boolean
default: false default: false
docker: docker:
- image: <<parameters.image>> - image: << parameters.image >>
resource_class: <<parameters.resource_class>> resource_class: << parameters.resource_class >>
# NOTE: Each external test runs up to 6 independent settings presets. If parallelism is higher than # NOTE: Each external test runs up to 6 independent settings presets. If parallelism is higher than
# actual preset count, some runs will exit immediately. If it's lower, some runs will get more than one preset. # actual preset count, some runs will exit immediately. If it's lower, some runs will get more than one preset.
parallelism: 6 parallelism: 6
environment: environment:
TERM: xterm TERM: xterm
COMPILE_ONLY: <<parameters.compile_only>> COMPILE_ONLY: << parameters.compile_only >>
steps: steps:
- checkout - checkout
- attach_workspace: - attach_workspace:
@ -1282,17 +1282,17 @@ jobs:
equal: [<< parameters.binary_type >>, "solcjs"] equal: [<< parameters.binary_type >>, "solcjs"]
steps: steps:
- run: - run:
name: External <<parameters.project>> tests (solcjs) name: External << parameters.project >> tests (solcjs)
command: | command: |
test/externalTests/<<parameters.project>>.sh solcjs /tmp/workspace/soljson.js test/externalTests/<< parameters.project >>.sh solcjs /tmp/workspace/soljson.js
- when: - when:
condition: condition:
equal: [<< parameters.binary_type >>, "native"] equal: [<< parameters.binary_type >>, "native"]
steps: steps:
- run: - run:
name: External <<parameters.project>> tests (native) name: External << parameters.project >> tests (native)
command: | command: |
test/externalTests/<<parameters.project>>.sh native /tmp/workspace/solc/solc-static-linux test/externalTests/<< parameters.project >>.sh native /tmp/workspace/solc/solc-static-linux
- store_artifacts: - store_artifacts:
path: reports/externalTests/ path: reports/externalTests/
# persist_to_workspace fails if the directory does not exist and the test script will create # persist_to_workspace fails if the directory does not exist and the test script will create