ci: stop running pre-commit in gha, rely on pre-commit.ci

pull/1200/head
Erik Sundell 2022-10-23 13:05:32 +02:00
rodzic 4a5b8541e7
commit 8a28264b97
1 zmienionych plików z 12 dodań i 3 usunięć

Wyświetl plik

@ -39,7 +39,7 @@ env:
GIT_AUTHOR_NAME: CI User
jobs:
pre-commit:
populate-pip-cache:
runs-on: ubuntu-22.04
strategy:
@ -65,12 +65,21 @@ jobs:
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
# add for mercurial tests
pip install mercurial hg-evolve
pip freeze
- run: pre-commit run --all-files
- name: Install repo2docker
run: |
python -m build --wheel .
pip install dist/*.whl
pip freeze
test:
needs: pre-commit
needs: populate-pip-cache
runs-on: ubuntu-${{ matrix.ubuntu_version }}
strategy: