Skip to content

Commit 8ce06fd

Browse files
committed
added documentation depoy to publish CI action
1 parent 915baed commit 8ce06fd

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ jobs:
2222
env:
2323
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
2424
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
25-
run: flit publish
25+
run: flit publish
26+
- name: Deploy Documentation
27+
run: make doc-deploy

.github/workflows/test_full.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ on:
77

88

99
jobs:
10-
# test:
11-
# runs-on: ubuntu-latest
12-
# strategy:
13-
# matrix:
14-
# python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
15-
# django-version: ['<2.1', '<2.2', '<3.0', '<3.1', '<3.2', '<3.3', '<4.1']
16-
#
17-
# steps:
18-
# - uses: actions/checkout@v2
19-
# - name: Set up Python
20-
# uses: actions/setup-python@v1
21-
# with:
22-
# python-version: ${{ matrix.python-version }}
23-
# - name: Install core
24-
# run: pip install "Django${{ matrix.django-version }}" pydantic
25-
# - name: Install tests
26-
# run: pip install pytest pytest-asyncio pytest-django injector==0.19.0 django-ninja asgiref contextlib2
27-
# - name: Test
28-
# run: pytest
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
15+
django-version: ['<2.1', '<2.2', '<3.0', '<3.1', '<3.2', '<3.3', '<4.1']
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Python
20+
uses: actions/setup-python@v1
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install core
24+
run: pip install "Django${{ matrix.django-version }}" pydantic
25+
- name: Install tests
26+
run: pip install pytest pytest-asyncio pytest-django injector==0.19.0 django-ninja asgiref contextlib2
27+
- name: Test
28+
run: pytest
2929
codestyle:
3030
runs-on: ubuntu-latest
3131

@@ -47,5 +47,3 @@ jobs:
4747
run: flake8 ninja_extra tests
4848
- name: mypy
4949
run: mypy ninja_extra
50-
- name: Build and Deploy Document
51-
run: make doc-deploy

0 commit comments

Comments
 (0)