fix: with submodules #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Test | |
on: | |
push: | |
branches-ignore: | |
- main | |
# pull_request: | |
# branches: | |
# - '*' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Build Docker image | |
run: docker build -t blockful/external-resolver-contracts -f packages/contracts/Dockerfile packages/contracts | |
- name: Start Docker container | |
run: docker run -d --name external-resolver-contracts -p 8545:8545 blockful/external-resolver-contracts | |
- name: Wait for container to be healthy | |
run: docker wait external-resolver-contracts | |
- name: Run tests | |
run: yarn test | |
- name: Stop Docker container | |
run: docker stop external-resolver-contracts |