Add initial integration style tests (#20)

Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
This commit is contained in:
José Ulises Niño Rivera 2024-07-25 14:41:36 -07:00 committed by GitHub
parent a0abd9c42d
commit a51a467cad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1401 additions and 29 deletions

View file

@ -46,7 +46,9 @@ jobs:
token: ${{ secrets.ADIL_GITHUB_TOKEN }}
- name: Setup | Rust
run: rustup toolchain install stable --profile minimal
- name: Setup | Install wasm toolchain
run: rustup target add wasm32-wasi
- name: Build wasm module
run: cd envoyfilter && cargo build --release --target=wasm32-wasi
- name: Run Tests
# --lib is to only test the library, since when integration tests are made,
# they will be in a seperate tests directory
run: cd envoyfilter && cargo test --lib
run: cd envoyfilter && cargo test