File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change 9
9
LANG : C.UTF-8
10
10
11
11
jobs :
12
- pre-commit :
13
- runs-on : ubuntu-20.04
14
- timeout-minutes : 2
15
-
16
- steps :
17
- - uses : actions/checkout@v2
18
- - uses : actions/setup-python@v2
19
- with :
20
- python-version : 3.8
21
-
22
- # ref: https://github.com/pre-commit/action
23
- -
uses :
pre-commit/[email protected]
24
- - name : Help message if pre-commit fail
25
- if : ${{ failure() }}
26
- run : |
27
- echo "You can install pre-commit hooks to automatically run formatting"
28
- echo "on each commit with:"
29
- echo " pre-commit install"
30
- echo "or you can run by hand on staged files with"
31
- echo " pre-commit run"
32
- echo "or after-the-fact on already committed files with"
33
- echo " pre-commit run --all-files"
34
-
35
- pytest :
12
+ test :
36
13
runs-on : ubuntu-20.04
37
14
timeout-minutes : 10
38
15
You can’t perform that action at this time.
0 commit comments