Skip to content

Commit

Permalink
Upload backend logs as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Oct 18, 2024
1 parent 6a245ae commit 56de36c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
working-directory: ${{ env.backend-directory }}
run: |
touch .env
echo LOG_LEVEL=DEBUG >> .env
echo LOG_OUTFILE >> backend.log
echo DJANGO_DEBUG=True >> .env
echo [email protected] >> .env
echo DJANGO_SUPERUSER_PASSWORD=1234 >> .env
Expand Down Expand Up @@ -111,6 +113,7 @@ jobs:
with:
name: functional-tests-report-${{ matrix.playwright-browser }}
path: |
${{ env.backend-directory }}/*.log
${{ env.frontend-directory }}/tests/results/
${{ env.frontend-directory }}/tests/reports/
retention-days: 5
Expand Down Expand Up @@ -173,6 +176,8 @@ jobs:
working-directory: ${{ env.backend-directory }}
run: |
touch .env
echo LOG_LEVEL=DEBUG >> .env
echo LOG_OUTFILE >> backend.log
echo DJANGO_DEBUG=True >> .env
echo [email protected] >> .env
echo DJANGO_SUPERUSER_PASSWORD=1234 >> .env
Expand Down Expand Up @@ -210,6 +215,7 @@ jobs:
with:
name: enterprise-functional-tests-report-${{ matrix.playwright-browser }}
path: |
${{ env.backend-directory }}/*.log
${{ env.enterprise-frontend-build-directory }}/tests/results/
${{ env.enterprise-frontend-build-directory }}/tests/reports/
retention-days: 5

0 comments on commit 56de36c

Please sign in to comment.