Skip to content

Commit

Permalink
chore: workflow wait step
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed May 26, 2024
1 parent 9e35444 commit 2f30744
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/cypress-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,20 @@ jobs:
- name: Start Anvil
run: yarn test:anvil &

- name: Wait for Anvil
run: |
while ! curl -s http://localhost:8545; do
sleep 1
done
- name: Fund test accounts
run: yarn test:fund

- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: yarn run build
start: yarn test:fund, yarn start
start: yarn start

env:
SUPABASE_URL: "https://wfzpewmlyiozupulbuur.supabase.co"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@
"@commitlint/config-conventional"
]
}
}
}

0 comments on commit 2f30744

Please sign in to comment.