mirror of
https://github.com/imjasonh/krust
synced 2026-07-08 06:45:32 +00:00
Add tests to pre-commit hooks and simplify CI matrix
- Add cargo test and e2e tests to pre-commit hooks - Temporarily disable macOS CI to focus on Linux - Ensure all tests pass locally before committing
This commit is contained in:
parent
40dbb7053e
commit
5d254c7eca
3 changed files with 15 additions and 14 deletions
|
|
@ -23,6 +23,20 @@ repos:
|
|||
types: [rust]
|
||||
pass_filenames: false
|
||||
|
||||
- id: cargo-test
|
||||
name: cargo test
|
||||
entry: cargo test
|
||||
language: system
|
||||
types: [rust]
|
||||
pass_filenames: false
|
||||
|
||||
- id: cargo-test-e2e
|
||||
name: cargo e2e tests
|
||||
entry: cargo test --test '*'
|
||||
language: system
|
||||
types: [rust]
|
||||
pass_filenames: false
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue