Skip to content

Commit

Permalink
ci: split test workflow into pre-commit and fork
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Dec 20, 2024
1 parent eccd774 commit 46ae21f
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,7 @@ on:
branches: [ master ]

jobs:
test:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -25,6 +25,21 @@ jobs:
- name: Run pre-commit checks
run: pre-commit run --all-files

fork:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install pre-commit
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Setup git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Test User"
- name: Test fork.sh script
run: |
# Test basic usage (script will do its own validation)
Expand Down

0 comments on commit 46ae21f

Please sign in to comment.