File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Integration
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+ integration :
9+ name : Integration
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-python@v1
14+ with :
15+ python-version : 3.10
16+
17+ - name : Cache dependencies
18+ uses : actions/cache@v2
19+ with :
20+ path : |
21+ ~/.cache/pip
22+ ~/.cache/pypoetry
23+ key : ${{ runner.os }}-${{ hashFiles('poetry.lock') }}
24+ restore-keys : ${{ runner.os }}
25+
26+ - name : Install dependencies
27+ env :
28+ POETRY_VIRTUALENVS_CREATE : false
29+ run : >
30+ pip3 install poetry
31+ && poetry install
32+
33+ - name : Format
34+ run : >
35+ black --check backend/manager
36+
37+ - name : Test
38+ env :
39+ DB : sqlite
40+ run : >
41+ python manage.py test
You can’t perform that action at this time.
0 commit comments