test #44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test git-spell-check | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Install aspell | ||
| run: | | ||
| sudo apt-get install -y aspell aspell-en | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: 3.11 | ||
| - name: Install dependencies | ||
| run: pip install -r requirements.txt | ||
| - name: Run tests | ||
| run: pytest | ||
| - uses: compiler-research/git-spell-check@${{ github.event.pull_request.base.ref || github.head_ref || github.ref_name}} | ||
|
Check failure on line 24 in .github/workflows/test.yml
|
||
| with: | ||
| debug: 1 | ||
| - name: Dump GitHub context | ||
| if: ${{ failed() }} | ||
| run: echo "${{ toJSON(github) }}" | ||
| - name: Setup tmate session | ||
| if: ${{ !cancelled() && runner.debug }} | ||
| uses: mxschmitt/action-tmate@v3 | ||
| # When debugging increase to a suitable value! | ||
| timeout-minutes: 30 | ||