Skip to content

Commit 8a28264

Browse files
committed
ci: stop running pre-commit in gha, rely on pre-commit.ci
1 parent 4a5b854 commit 8a28264

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ env:
3939
GIT_AUTHOR_NAME: CI User
4040

4141
jobs:
42-
pre-commit:
42+
populate-pip-cache:
4343
runs-on: ubuntu-22.04
4444

4545
strategy:
@@ -65,12 +65,21 @@ jobs:
6565
- name: Install dependencies
6666
run: |
6767
pip install -r dev-requirements.txt
68+
69+
# add for mercurial tests
70+
pip install mercurial hg-evolve
71+
6872
pip freeze
6973
70-
- run: pre-commit run --all-files
74+
- name: Install repo2docker
75+
run: |
76+
python -m build --wheel .
77+
pip install dist/*.whl
78+
79+
pip freeze
7180
7281
test:
73-
needs: pre-commit
82+
needs: populate-pip-cache
7483
runs-on: ubuntu-${{ matrix.ubuntu_version }}
7584

7685
strategy:

0 commit comments

Comments
 (0)