Skip to content

Commit

Permalink
fix ci for added pre-commit check
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid committed Jan 12, 2024
1 parent 04d27e2 commit e9a5655
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,22 @@ on:
jobs:

check-pre-commit:
uses: fsinfuhh/workflows/.github/workflows/check_pre_commit.yml@main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pipenv
- name: install dependencies
run: pip install pre-commit pipenv
- name: install project dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends libgpgme-dev libsasl2-dev libldap2-dev libmagic-dev libjpeg-dev libgraphviz-dev gettext
pipenv sync --dev
- name: execute pre-commit check
run: pre-commit run --show-diff-on-failure --color=always --all-files

test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e9a5655

Please sign in to comment.