Skip to content

Commit ec80922

Browse files
committed
remove pre-commit from GHA
it's running on pre-commit.ci now
1 parent b04997a commit ec80922

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,7 @@ env:
99
LANG: C.UTF-8
1010

1111
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:
3613
runs-on: ubuntu-20.04
3714
timeout-minutes: 10
3815

0 commit comments

Comments
 (0)