Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,7 @@ jobs:

- name: Tests
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
run: |
coverage run ./runtests.py --parallel || ./runtests.py
SAMPLE_APP=1 coverage run ./runtests.py --parallel
# basic tests without allauth.socialaccount
NO_SOCIAL_APP=1 coverage run ./tests/manage.py test testapp.tests.test_admin.TestUsersAdmin --parallel
coverage combine
coverage xml
run: ./runtests
env:
SELENIUM_HEADLESS: 1
GECKO_LOG: 1
Expand Down
3 changes: 1 addition & 2 deletions docs/developer/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ Run tests with:

.. code-block:: shell

# --parallel and --keepdb are optional but help to speed up the operation
./runtests.py --parallel --keepdb
./runtests

Alternative Sources
-------------------
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
django-organizations~=2.5.0
django-organizations>=2.5.0,<2.6.0
django-extensions>=3.2,<4.2
django-allauth[socialaccount]>=65.12.0,<65.13.0
django-phonenumber-field~=8.1.0
phonenumbers~=9.0.15
django-phonenumber-field>=8.1.0,<8.2.0
phonenumbers>=9.0.10,<9.1.0
openwisp-utils[rest,celery] @ https://github.com/openwisp/openwisp-utils/tarball/1.2
packaging
django-sesame~=3.2.3
django-sesame>=3.2.3,<3.3.0
14 changes: 14 additions & 0 deletions runtests
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
set -e

echo "Run standard tests"
coverage run ./runtests.py --parallel

echo "Test extensibility"
SAMPLE_APP=1 coverage run ./runtests.py --parallel

echo "Run basic tests without allauth.socialaccount"
NO_SOCIAL_APP=1 coverage run ./tests/manage.py test testapp.tests.test_admin.TestUsersAdmin --parallel

coverage combine
coverage xml
Loading