Skip to content

Commit

Permalink
trying to collect traces from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonf committed Oct 7, 2024
1 parent f98a570 commit 5a068a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/django-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
cd ${{ matrix.app }}
make test
- name: Download vue app
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: babex-vue
- name: Unpack vue app
Expand All @@ -125,7 +125,7 @@ jobs:
if: failure()
with:
name: ${{ matrix.app }}-pytest_logs
path: ${{ matrix.app }}/integration_tests/latest_logs/
path: ${{ matrix.app }}/test-results

integration:
needs: build
Expand Down Expand Up @@ -178,9 +178,9 @@ jobs:
cd integration_tests
playwright install
export DJANGO_ALLOW_ASYNC_UNSAFE=1
pytest
pytest --tracing retain-on-failure
- uses: actions/upload-artifact@v4
if: failure()
with:
name: integration-pytest_logs
path: integration_tests/latest_logs/
path: integration_tests/test-results
2 changes: 1 addition & 1 deletion lab/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ test:
DJANGO_SETTINGS_MODULE=ppn_backend.settings pytest --ignore=integration_tests $(PYTEST_ARGS)

testint:
DJANGO_SETTINGS_MODULE=ppn_backend.settings pytest -k integration_tests $(PYTEST_ARGS)
DJANGO_SETTINGS_MODULE=ppn_backend.settings pytest -k integration_tests --tracing retain-on-failure $(PYTEST_ARGS)

0 comments on commit 5a068a7

Please sign in to comment.