show crowdsec logs after the tests (#1439)
This commit is contained in:
parent
099469c5d2
commit
0190614342
5
.github/workflows/bats-mysql.yml
vendored
5
.github/workflows/bats-mysql.yml
vendored
|
@ -65,6 +65,11 @@ jobs:
|
||||||
MYSQL_PASSWORD: ${{ secrets.DATABASE_PASSWORD }}
|
MYSQL_PASSWORD: ${{ secrets.DATABASE_PASSWORD }}
|
||||||
MYSQL_USER: root
|
MYSQL_USER: root
|
||||||
|
|
||||||
|
- name: "Show crowdsec logs"
|
||||||
|
run:
|
||||||
|
for file in $(find ./tests/local/var/log -type f); do echo ">>>>> $file"; cat $file; echo; done
|
||||||
|
if: ${{ always() }}
|
||||||
|
|
||||||
- name: "Show database logs"
|
- name: "Show database logs"
|
||||||
run: docker logs "${{ job.services.database.id }}"
|
run: docker logs "${{ job.services.database.id }}"
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
5
.github/workflows/bats-postgres.yml
vendored
5
.github/workflows/bats-postgres.yml
vendored
|
@ -84,6 +84,11 @@ jobs:
|
||||||
PGPASSWORD: ${{ secrets.DATABASE_PASSWORD }}
|
PGPASSWORD: ${{ secrets.DATABASE_PASSWORD }}
|
||||||
PGUSER: postgres
|
PGUSER: postgres
|
||||||
|
|
||||||
|
- name: "Show crowdsec logs"
|
||||||
|
run:
|
||||||
|
for file in $(find ./tests/local/var/log -type f); do echo ">>>>> $file"; cat $file; echo; done
|
||||||
|
if: ${{ always() }}
|
||||||
|
|
||||||
- name: "Show database logs"
|
- name: "Show database logs"
|
||||||
run: docker logs "${{ job.services.database.id }}"
|
run: docker logs "${{ job.services.database.id }}"
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
6
.github/workflows/bats-sqlite-coverage.yml
vendored
6
.github/workflows/bats-sqlite-coverage.yml
vendored
|
@ -45,3 +45,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: coverage-bats.out
|
name: coverage-bats.out
|
||||||
path: ./tests/local/var/lib/coverage/coverage-bats.out
|
path: ./tests/local/var/lib/coverage/coverage-bats.out
|
||||||
|
|
||||||
|
- name: "Show crowdsec logs"
|
||||||
|
run:
|
||||||
|
for file in $(find ./tests/local/var/log -type f); do echo ">>>>> $file"; cat $file; echo; done
|
||||||
|
if: ${{ always() }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue