Skip to content

Commit

Permalink
Add Python version matrix, fix EOF in pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjng committed Oct 10, 2024
1 parent e1aaef8 commit 56db6eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ jobs:
- name: Run pre-commit checks
run: uvx pre-commit run --all-files --verbose --show-diff-on-failure
test:
name: Test nnbench on ${{ matrix.os }}
name: Test nnbench on ${{ matrix.os }} on Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.10", 3.11, 3.12 ]
steps:
- uses: actions/checkout@v4
- name: Install uv
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ repos:
rev: 0.4.20
hooks:
- id: uv-lock
name: Lock project dependencies
name: Lock project dependencies

0 comments on commit 56db6eb

Please sign in to comment.