Skip to content

Commit

Permalink
ci-check added
Browse files Browse the repository at this point in the history
  • Loading branch information
gluk64 committed Feb 13, 2020
1 parent 9fa5ded commit c5a05d0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ prepare-contracts:

# testing

ci-check:
@ci-check.sh

loadtest: confirm_action
@bin/loadtest.sh

Expand Down
15 changes: 15 additions & 0 deletions contracts/contracts/ci-check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
cd $ZKSYNC_HOME

set -e
set -x

cargo fmt -- --check
zksync init
f cargo clippy --tests --benches -- -D warnings
f cargo test
zksync test-contracts
zksync circuit-tests
zksync prover-tests
zksync db-test
zksync integration-testkit

0 comments on commit c5a05d0

Please sign in to comment.