Unverified Commit 844720b2 authored by Michael Müller's avatar Michael Müller
Browse files

Restore workflow

parent 22c1d173
Pipeline #151014 canceled with stages
in 1 minute and 56 seconds
......@@ -48,6 +48,18 @@ jobs:
- name: Rust Cache
uses: Swatinem/rust-cache@v1.2.0
- name: Build contract template on ${{ matrix.platform }}-${{ matrix.toolchain }}
run: |
wasm-opt --version
cargo -vV
cargo run -- contract --version
cargo run -- contract new foobar
echo "[workspace]" >> foobar/Cargo.toml
cargo run -- contract build --manifest-path=foobar/Cargo.toml
- name: Run tests on {{ matrix.platform }}-${{ matrix.toolchain }}
# The tests take a long time in the GitHub Actions runner (~30 mins),
# hence we run them only on `master`.
if: github.ref == 'refs/heads/master'
run: |
cargo test --verbose --all-features --workspace -- --nocapture
cargo test --verbose --workspace --all-features
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment