File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 5
5
- master
6
6
pull_request :
7
7
jobs :
8
+ test :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-python@v2
13
+ with :
14
+ python-version : " 3.9"
15
+ - uses : Gr1n/setup-poetry@v4
16
+ with :
17
+ poetry-version : ' 1.1.4'
18
+ - run : pip install tox
19
+ - run : tox -e lint,py39-dj31
8
20
build_site :
21
+ needs : test
9
22
runs-on : ubuntu-latest
10
23
steps :
11
24
- uses : actions/checkout@v2
38
51
poetry config virtualenvs.create false &&
39
52
poetry install
40
53
- run : poetry run django-admin runserver --settings=tests.settings.production --pythonpath=. &
41
- - run : pip install tox
42
- # Python linting.
43
- - run : tox -e lint
44
54
# Docs website build.
45
55
- run : poetry run mkdocs build --strict
46
56
# Demo website build.
You can’t perform that action at this time.
0 commit comments