mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
Add testing to GitHub workflow (#15)
* update workflow and pre-commit to test only unit tests * Update .github/workflows/checks.yml Co-authored-by: Adil Hafeez <adil@katanemo.com> * Update .pre-commit-config.yaml Co-authored-by: Adil Hafeez <adil@katanemo.com> * update formatting of comments * Update .pre-commit-config.yaml * Update checks.yml --------- Co-authored-by: Adil Hafeez <adil@katanemo.com>
This commit is contained in:
parent
7bf77afa0e
commit
31c4ac267a
2 changed files with 17 additions and 2 deletions
|
|
@ -21,4 +21,6 @@ repos:
|
|||
name: cargo-test
|
||||
language: system
|
||||
types: [file, rust]
|
||||
entry: bash -c "cd envoyfilter && cargo test --all"
|
||||
# --lib is to only test the library, since when integration tests are made,
|
||||
# they will be in a seperate tests directory
|
||||
entry: bash -c "cd envoyfilter && cargo test --lib"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue