diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ec0187..cde33c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ on: branches: [ master ] jobs: - test: + pre-commit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -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 "test@example.com" + git config --global user.name "Test User" + - name: Test fork.sh script run: | # Test basic usage (script will do its own validation)