Skip to content

Commit

Permalink
Merge pull request #5 from wasm-forge/pocket-ic-tests
Browse files Browse the repository at this point in the history
Pocket ic tests
  • Loading branch information
wasm-forge authored Jun 17, 2024
2 parents 208b473 + 8c6a4da commit b10d25e
Show file tree
Hide file tree
Showing 24 changed files with 3,349 additions and 47 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,21 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable

- name: Build test projects
run: ./build_tests.sh

- name: Install pocket-ic
run: src/tests/download-pocket-ic.sh

- name: Install wasi2ic
run: src/tests/download-wasi2ic.sh

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Run tests
run: cargo test --verbose


- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
Expand All @@ -34,6 +43,4 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true



8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/target/
target

pocket-ic

wasi2ic

*.wasm

**/*.rs.bk

Expand Down
Loading

0 comments on commit b10d25e

Please sign in to comment.