File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 11name : test
22
3- on :
3+ on :
44 - push
55 - pull_request
66
77jobs :
8+ lint :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Setup Python
13+ uses : actions/setup-python@v2
14+ with :
15+ python-version : 3.9
16+ - name : Install dependencies
17+ run : |
18+ python -m pip install --upgrade pip setuptools wheel
19+ python -m pip install -r requirements-dev.txt
20+ - name : Run flake8
21+ run : flake8
22+ - uses : actions/cache@v2
23+ with :
24+ path : ~/.cache/pip
25+ key : ${{ runner.os }}-pip
826 build :
927 runs-on : ubuntu-latest
1028 strategy :
2644 with :
2745 path : ~/.cache/pip
2846 key : ${{ runner.os }}-pip
29-
47+
3048 deploy :
3149 name : Build deploy
3250 runs-on : ubuntu-latest
3957 build : true
4058 # only upload if a tag is pushed (otherwise just build & check)
4159 upload : ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
42-
You can’t perform that action at this time.
0 commit comments