Add workflow logic for weather forecast demo (#24)

This commit is contained in:
Adil Hafeez 2024-07-30 16:23:23 -07:00 committed by GitHub
parent 7ef68eccfb
commit 33f9dd22e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 1902 additions and 459 deletions

View file

@ -16,11 +16,11 @@ repos:
name: cargo-clippy
language: system
types: [file, rust]
entry: bash -c "cd envoyfilter && cargo clippy --all"
entry: bash -c "cd envoyfilter && cargo clippy -p intelligent-prompt-gateway --all"
- id: cargo-test
name: cargo-test
language: system
types: [file, rust]
# --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"
entry: bash -c "cd envoyfilter && cargo test -p intelligent-prompt-gateway --lib"