Skip to content

Commit

Permalink
ci: run main tests on macOS and Windows, too
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Aug 20, 2024
1 parent 66dc3ee commit 3209034
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
# No caching as we're expected to run rarely
- name: Install dependencies and run checks
shell: bash
run: |
set -euxo pipefail
python3 -m venv venv
source venv/bin/activate
python3 -m pip install pre-commit
export PRE_COMMIT_COLOR=always
pre-commit try-repo . --files .github/workflows/test-good.sh
Expand Down

0 comments on commit 3209034

Please sign in to comment.