Skip to content

Commit

Permalink
Merge pull request #141 from netzkolchose/fix_docs_build
Browse files Browse the repository at this point in the history
fix docs build
  • Loading branch information
jerch authored Jan 19, 2024
2 parents a88c2ac + 567d334 commit 682a591
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ jobs:
run: |
./example/manage.py makemigrations
./example/manage.py migrate
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Run tests
run: |
coverage run --parallel-mode --branch --source='computedfields' ./example/manage.py test exampleapp
coverage run --parallel-mode --branch --source='computedfields' ./example/manage.py test test_full
coverage combine
coverage report
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down Expand Up @@ -73,16 +73,16 @@ jobs:
run: |
./example/manage.py makemigrations
./example/manage.py migrate
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Run tests
run: |
coverage run --parallel-mode --branch --source='computedfields' ./example/manage.py test exampleapp
coverage run --parallel-mode --branch --source='computedfields' ./example/manage.py test test_full
coverage combine
coverage report
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down Expand Up @@ -120,10 +120,6 @@ jobs:
./example/manage.py migrate
env:
DBENGINE: mysql
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Run tests
run: |
coverage run --parallel-mode --branch --source='computedfields' ./example/manage.py test exampleapp
Expand All @@ -132,6 +128,10 @@ jobs:
coverage report
env:
DBENGINE: mysql
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down Expand Up @@ -168,10 +168,6 @@ jobs:
./example/manage.py migrate
env:
DBENGINE: postgres
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Run tests
run: |
coverage run --parallel-mode --branch --source='computedfields' ./example/manage.py test exampleapp
Expand All @@ -180,6 +176,10 @@ jobs:
coverage report
env:
DBENGINE: postgres
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down Expand Up @@ -216,10 +216,6 @@ jobs:
./example/manage.py migrate
env:
DBENGINE: postgres
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Run tests
run: |
coverage run --parallel-mode --branch --source='computedfields' ./example/manage.py test exampleapp
Expand All @@ -228,6 +224,10 @@ jobs:
coverage report
env:
DBENGINE: postgres
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down Expand Up @@ -265,10 +265,6 @@ jobs:
./example/manage.py migrate
env:
DBENGINE: mysql
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Run tests
run: |
coverage run --parallel-mode --branch --source='computedfields' ./example/manage.py test exampleapp
Expand All @@ -277,6 +273,10 @@ jobs:
coverage report
env:
DBENGINE: mysql
- name: Build docs
run: |
cd docs && make html
cd ../
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down
1 change: 1 addition & 0 deletions example/requirements-ci-psycopg3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ psycopg==3.1.8
psycopg-binary==3.1.8
tqdm==4.62.3
django-fast-update
alabaster==0.7.12
1 change: 1 addition & 0 deletions example/requirements-ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ mysqlclient==2.1.0
psycopg2-binary==2.9.3
tqdm==4.62.3
django-fast-update
alabaster==0.7.12
1 change: 1 addition & 0 deletions example/requirements-rtd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ typing_extensions==4.0.1

tqdm==4.62.3
django-fast-update
alabaster==0.7.12

0 comments on commit 682a591

Please sign in to comment.