mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-02-23 07:59:52 -05:00
collect docker logs after running tests
This commit is contained in:
parent
3495f562c7
commit
6511b00f1d
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -18,9 +18,6 @@ jobs:
|
|||||||
- name: Stop Mono service
|
- name: Stop Mono service
|
||||||
run: sudo killall mono
|
run: sudo killall mono
|
||||||
|
|
||||||
- name: Collect Docker Logs
|
|
||||||
uses: jwalton/gh-docker-logs@v2.2.1
|
|
||||||
|
|
||||||
- name: Start containers
|
- name: Start containers
|
||||||
run: docker-compose -f "./docker/docker-compose.yml" up -d --build
|
run: docker-compose -f "./docker/docker-compose.yml" up -d --build
|
||||||
|
|
||||||
@ -55,6 +52,10 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm run test -- --baseCurrencyNetwork=XMR_LOCAL -t "(?:^|\W)CI(?:$|\W)"
|
run: npm run test -- --baseCurrencyNetwork=XMR_LOCAL -t "(?:^|\W)CI(?:$|\W)"
|
||||||
|
|
||||||
|
- name: Collect Docker Logs
|
||||||
|
if: always()
|
||||||
|
uses: jwalton/gh-docker-logs@v2.2.1
|
||||||
|
|
||||||
- name: Stop containers
|
- name: Stop containers
|
||||||
if: always()
|
if: always()
|
||||||
run: docker-compose -f "./docker/docker-compose.yml" down
|
run: docker-compose -f "./docker/docker-compose.yml" down
|
||||||
|
Loading…
x
Reference in New Issue
Block a user