Skip to content

Commit

Permalink
Update and rename .pre-commit.yml to pre-commit.yml
Browse files Browse the repository at this point in the history
Fix missing dependencies
  • Loading branch information
PatrickBaus authored Dec 7, 2023
1 parent bba7e94 commit 8e4a2ef
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/.pre-commit.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: pre-commit

on:
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [ "3.10" ]

steps:
- name: Checkout source repository
uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies for testing
run: |
python3 -m pip install --upgrade pip
python3 -m pip install .[test]
- name: Run pre-commit
uses: pre-commit/[email protected]

0 comments on commit 8e4a2ef

Please sign in to comment.