Use only two steps
@@ -76,77 +76,11 @@ jobs:
zk contract build-dev
zk run deploy-eip1271
- services:
- postgres:
- image: postgres:10.4
- ports:
- - 5432:5432
- geth:
- image: matterlabs/geth:latest
- ports:
- - 8545:8545
- - 8546:8546
- env:
- CONFIG: standard
-
- integration-test:
- runs-on: [ self-hosted, DEV-CI ]
- needs: pre-run
- steps:
- - name: setup-env
- run: |
- echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV
- echo CI=1 >> $GITHUB_ENV
- echo $(pwd)/bin >> $GITHUB_PATH
-
- - name: integration-tests
- run: zk test integration all --in-docker
-
- integration-testkit:
- runs-on: [ self-hosted, DEV-CI ]
- needs: pre-run
- steps:
- - name: setup-env
- run: |
- echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV
- echo CI=1 >> $GITHUB_ENV
- echo $(pwd)/bin >> $GITHUB_PATH
-
- name: integration-testkit
run: zk test integration testkit
env:
SQLX_OFFLINE: "true"
- services:
- geth:
- image: matterlabs/geth:latest
- ports:
- - 8545:8545
- - 8546:8546
- env:
- CONFIG: standard
-
- postgres:
- image: postgres:10.4
- ports:
- - 5432:5432
-
- dev-ticker:
- image: matterlabs/dev-ticker:latest
- ports:
- - 9876:9876
-
- unit-tests:
- runs-on: [ self-hosted, DEV-CI ]
- needs: pre-run
-
- steps:
- - name: setup-env
- run: |
- echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV
- echo CI=1 >> $GITHUB_ENV
- echo $(pwd)/bin >> $GITHUB_PATH
-
- name: contracts-unit-tests
run: zk test contracts
@@ -161,7 +95,6 @@ jobs:
- name: zksync-crypto-tests
run: pushd sdk/zksync-crypto && zk f cargo test --release
-
services:
geth:
image: matterlabs/geth:latest
@@ -180,3 +113,23 @@ jobs:
image: matterlabs/dev-ticker:latest
ports:
- 9876:9876
+
+ integration-test:
+ runs-on: [ self-hosted, DEV-CI ]
+ needs: pre-run
+ steps:
+ - name: setup-env
+ run: |
+ echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV
+ echo CI=1 >> $GITHUB_ENV
+ echo $(pwd)/bin >> $GITHUB_PATH
+
+ - name: integration-tests
+ run: zk test integration all --in-docker
+
+ - name: setup-env
+ run: |
+ echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV
+ echo CI=1 >> $GITHUB_ENV
+ echo $(pwd)/bin >> $GITHUB_PATH
+
