File tree Expand file tree Collapse file tree 3 files changed +47
-8
lines changed Expand file tree Collapse file tree 3 files changed +47
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88
99jobs :
1010
11+ lint :
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ lint-command :
16+ - " bandit -r hijack -x hijack/tests"
17+ - " black --check --diff ."
18+ - " flake8 ."
19+ - " isort --check-only --diff ."
20+ - " pydocstyle ."
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/setup-python@v2.2.2
24+ - uses : actions/checkout@v2.3.4
25+ - uses : actions/cache@v2.1.6
26+ with :
27+ path : ~/.cache/pip
28+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
29+ restore-keys : |
30+ ${{ runner.os }}-pip-
31+ - run : python -m pip install -r requirements.txt
32+ - run : ${{ matrix.lint-command }}
33+
34+ dist :
35+ runs-on : ubuntu-latest
36+ steps :
37+ - run : sudo apt install -y gettext
38+ - uses : actions/setup-python@v2.2.2
39+ - uses : actions/setup-node@v2.4.0
40+ - uses : actions/checkout@v2.3.4
41+ - name : Install Python dependencies
42+ run : python -m pip install --upgrade pip setuptools wheel twine readme-renderer
43+ - run : python setup.py sdist bdist_wheel
44+ - run : python -m twine check dist/*
45+ - uses : actions/upload-artifact@v2
46+ with :
47+ path : dist/*
48+
1149 docs :
1250 runs-on : ubuntu-latest
1351 steps :
1957 - run : python setup.py build_sphinx -W
2058
2159 SQLite :
22- needs : [docs]
60+ needs : [lint, dist, docs]
2361 runs-on : ubuntu-latest
2462 strategy :
2563 matrix :
4179 codecov
4280
4381 extras :
44- needs : [docs]
82+ needs : [lint, dist, docs]
4583 runs-on : ubuntu-latest
4684 strategy :
4785 matrix :
64102
65103
66104 PostgreSQL :
67- needs : [docs]
105+ needs : [lint, dist, docs]
68106 runs-on : ubuntu-latest
69107 strategy :
70108 matrix :
Original file line number Diff line number Diff line change 11Django >= 2.2
22Wagtail >= 2.8
3+ bandit == 1.7.0
4+ black == 21.9b0
5+ flake8 == 4.0.1
6+ isort == 5.9.3
7+ msgcheck == 3.1
8+ pydocstyle == 6.1.1
You can’t perform that action at this time.
0 commit comments