Merge pull request #353 from wallabag/fix/logs

tests: always run ci steps for logs and cleanup
This commit is contained in:
Kevin Decherf
2023-07-22 18:31:10 +02:00
committed by GitHub

View File

@ -43,7 +43,9 @@ jobs:
run: py.test --database=${{ matrix.database }} tests/ run: py.test --database=${{ matrix.database }} tests/
- name: "Get docker logs" - name: "Get docker logs"
if: ${{ always() }}
run: docker-compose -p "wallabag_${{ matrix.database }}" -f tests/docker-compose.${{ matrix.database }}.yml logs wallabag run: docker-compose -p "wallabag_${{ matrix.database }}" -f tests/docker-compose.${{ matrix.database }}.yml logs wallabag
- name: "Cleanup environment" - name: "Cleanup environment"
if: ${{ always() }}
run: docker-compose -p "wallabag_${{ matrix.database }}" -f tests/docker-compose.${{ matrix.database }}.yml down -v run: docker-compose -p "wallabag_${{ matrix.database }}" -f tests/docker-compose.${{ matrix.database }}.yml down -v