-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea4775a
commit b7ec400
Showing
1 changed file
with
0 additions
and
34 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,46 +16,12 @@ jobs: | |
with: | ||
fetch-depth: 1 | ||
|
||
- name: Setup Docker Colima 1 | ||
uses: limpbrains/setup-docker-macos-action@48929bfd0b688ddb9e259c8ed1efb12ba3db863c | ||
id: docker1 | ||
continue-on-error: true | ||
with: | ||
lima: v0.18.0 | ||
colima: v0.5.6 | ||
colima-params: --vm-type=vz --vz-rosetta | ||
|
||
- name: Setup Docker Colima 2 | ||
if: steps.docker1.outcome != 'success' | ||
uses: limpbrains/setup-docker-macos-action@48929bfd0b688ddb9e259c8ed1efb12ba3db863c | ||
id: docker2 | ||
continue-on-error: true | ||
with: | ||
lima: v0.18.0 | ||
colima: v0.5.6 | ||
|
||
- name: Setup Docker Default | ||
if: steps.docker1.outcome != 'success' && steps.docker2.outcome != 'success' | ||
uses: docker-practice/[email protected] | ||
timeout-minutes: 30 | ||
|
||
- name: Run regtest setup | ||
run: cd docker && mkdir lnd && chmod 777 lnd && docker-compose up -d | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.17 | ||
cache: 'yarn' # cache packages, but not node_modules | ||
|
||
- name: Wait for bitcoind | ||
timeout-minutes: 2 | ||
run: while ! nc -z '127.0.0.1' 43782; do sleep 1; done | ||
|
||
- name: Wait for electrum server | ||
timeout-minutes: 2 | ||
run: while ! nc -z '127.0.0.1' 60001; do sleep 1; done | ||
|
||
- name: Activate enviroment variables | ||
run: cp .env.test.template .env | ||
|
||
|