Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenepix committed Dec 18, 2023
1 parent b207724 commit ecd4990
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,21 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
- run: |
pip install -r requirements/development.txt
coverage run tests/test_app/manage.py test -v2 --keepdb
coverage html
coverage report
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pip-tools
pip-compile ./requirements/development.txt --output-file ./full-requirements.txt --resolver=backtracking
pip install -r ./full-requirements.txt
- name: Tests with coverage
run: |
export PYTHONPATH="$PYTHONPATH:./django-napse/"
export NAPSE_IS_IN_PIPELINE=True
cd tests/test_app
bash setup_secrets.sh
cd ../..
python3 tests/test_app/manage.py makemigrations && python3 tests/test_app/manage.py migrate
coverage run ./tests/test_app/manage.py test -v2 --keepdb && coverage html
- name: Deploy documentation
run: |
mkdocs gh-deploy --force

0 comments on commit ecd4990

Please sign in to comment.