Skip to content

Commit

Permalink
changes6
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jan 10, 2025
1 parent 5b6b1bd commit 0fd2f49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_full_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
- name: Build the Docker environment
run: docker-compose -f local.yml build

- name: Run test suite
- name: Run test suite with Pytest
env:
DJANGO_ENV: test
run: docker-compose -f local.yml run --rm django bash ./init.sh
run: docker-compose -f local.yml run --rm django pytest

- name: Cleanup
run: docker-compose -f local.yml down --volumes
3 changes: 2 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[pytest]
addopts = --ds=config.settings.test --reuse-db --ignore=document_classifier --ignore=functional_tests
DJANGO_SETTINGS_MODULE = config.settings.test
addopts = --reuse-db --ignore=document_classifier --ignore=functional_tests
python_files = test_*.py

0 comments on commit 0fd2f49

Please sign in to comment.