Reorder steps from fast to long ones
@@ -43,26 +43,28 @@ jobs:
- name: lints
run: ci_run sh infrastructure/ci-scripts/lints.sh
- - name: run-services
- run: ci_run sh infrastructure/ci-scripts/run_services.sh
-
- - name: integration-tests
- run: ci_run zk test integration all
-
- - name: integration-testkit
- run: ci_run zk test integration testkit
-
- name: contracts-unit-tests
run: ci_run zk test contracts
- name: js-unit-tests
run: ci_run zk test js
+ - name: zksync-crypto-tests
+ run: |
+ # "bash -c" because docker doesn't support "cd" command directly.
+ ci_run bash -c "cd /usr/src/zksync/sdk/zksync-crypto && zk f cargo test --release"
+
- name: rust-unit-tests
run: ci_run zk test rust
- - name: zksync-crypto-tests
- run: ci_run zk f cd /usr/src/zksync/sdk/zksync-crypto && zk f cargo test --release
+ - name: run-services
+ run: ci_run sh infrastructure/ci-scripts/run_services.sh
+
+ - name: integration-tests
+ run: ci_run zk test integration all
+
+ - name: integration-testkit
+ run: ci_run zk test integration testkit
- name: cache
run: ci_run sh infrastructure/ci-scripts/cache.sh
