Skip to content

Commit

Permalink
Separate building and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ignasirv committed Sep 30, 2024
1 parent 1987a3b commit b3ada8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ jobs:
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
- name: Build docker
run: npm run dockerv2:contracts
- name: Test docker
run: npm run docker:tests
2 changes: 0 additions & 2 deletions docker/scripts/v2/tests-docker.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/bash
# Set the -e option to stop the script if any command fails
set -e
# Build docker
npm run dockerv2:contracts
# Run docker tests
# Run container
docker run -p 8545:8545 -d --name docker_test hermeznetwork/geth-zkevm-contracts
Expand Down

0 comments on commit b3ada8e

Please sign in to comment.