Skip to content

Commit

Permalink
Add saving of docker db logs to build github action
Browse files Browse the repository at this point in the history
  • Loading branch information
tkilias committed Nov 29, 2023
1 parent 3f2eafc commit b36b6de
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,13 @@ jobs:
AWS_ROLE: ${{ secrets.AWS_ROLE }}
AWS_DEFAULT_REGION: "eu-central-1"
run: poetry run pytest tests/ci_tests -s

- name: Archive DockerDB logs
if: success() || failure()
run: docker cp db_container_test:/exa/logs docker_db_logs
- name: Archive DockerDB logs
if: success() || failure()
uses: actions/upload-artifact@v1
with:
name: docker_db_logs
path: docker_db_logs

0 comments on commit b36b6de

Please sign in to comment.