Skip to content

Commit bc79aa4

Browse files
committed
fix pre-commit job
1 parent 313e998 commit bc79aa4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
run: |
3333
python -m pip install -U codecov
3434
pip install -e ".[test]"
35-
- name: Lint code
36-
run: python -m pre_commit run --all
3735
- name: Run the tests
3836
if: ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}
3937
run: |
@@ -47,6 +45,13 @@ jobs:
4745
run: |
4846
codecov
4947
48+
pre-commit:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- uses: actions/checkout@v2
52+
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
53+
- uses: jupyterlab/maintainer-tools/.github/actions/pre-commit@v1
54+
5055
test_miniumum_versions:
5156
name: Test Minimum Versions
5257
timeout-minutes: 20

0 commit comments

Comments
 (0)