Skip to content

Commit

Permalink
XXX disable some tests to help test caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Twey committed Jan 25, 2024
1 parent a7211dd commit 7176054
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,44 +54,44 @@ jobs:
- name: Compile the workspace with the default features (build)
run: |
cargo build --locked
- name: Check sccache efficiency
run: sccache --show-stats
- name: Run all tests using the default features
run: |
cargo test --locked
- name: Run some extra execution tests with wasmtime
run: |
cargo test --locked -p linera-execution --features wasmtime
- name: Run the benchmark test
run: |
cargo build --locked -p linera-service --bin linera-benchmark --features benchmark
cargo test --locked -p linera-service --features benchmark benchmark
- name: Build Wasm test runner
# use debug mode to avoid building wasmtime in release mode
run: |
cargo build --locked --bin linera-wasm-test-runner
- name: Run Linera SDK Wasm tests
env:
CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER: "target/debug/linera-wasm-test-runner"
run: |
cargo test --locked -p linera-sdk-wasm-tests --target wasm32-unknown-unknown
- name: Run Wasm application tests
run: |
cd examples
CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=../target/debug/linera-wasm-test-runner cargo test --target wasm32-unknown-unknown
cargo test --locked --target x86_64-unknown-linux-gnu
- name: Run Witty integration tests
run: |
cargo build -p linera-witty-test-modules --target wasm32-unknown-unknown
cargo test -p linera-witty --features wasmer,wasmtime
- name: Check for outdated CLI.md
run: |
if ! diff CLI.md <(cargo run --bin linera -- help-markdown)
then
echo '`CLI.md` differs from the output of `linera help-markdown`'
echo 'Run `linera help-markdown > CLI.md` to update it.'
exit 1
fi
- name: Check what's going on with the cache
run: |
pwd
ls target
# cargo test --locked
# - name: Run some extra execution tests with wasmtime
# run: |
# cargo test --locked -p linera-execution --features wasmtime
# - name: Run the benchmark test
# run: |
# cargo build --locked -p linera-service --bin linera-benchmark --features benchmark
# cargo test --locked -p linera-service --features benchmark benchmark
# - name: Build Wasm test runner
# # use debug mode to avoid building wasmtime in release mode
# run: |
# cargo build --locked --bin linera-wasm-test-runner
# - name: Run Linera SDK Wasm tests
# env:
# CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER: "target/debug/linera-wasm-test-runner"
# run: |
# cargo test --locked -p linera-sdk-wasm-tests --target wasm32-unknown-unknown
# - name: Run Wasm application tests
# run: |
# cd examples
# CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=../target/debug/linera-wasm-test-runner cargo test --target wasm32-unknown-unknown
# cargo test --locked --target x86_64-unknown-linux-gnu
# - name: Run Witty integration tests
# run: |
# cargo build -p linera-witty-test-modules --target wasm32-unknown-unknown
# cargo test -p linera-witty --features wasmer,wasmtime
# - name: Check for outdated CLI.md
# run: |
# if ! diff CLI.md <(cargo run --bin linera -- help-markdown)
# then
# echo '`CLI.md` differs from the output of `linera help-markdown`'
# echo 'Run `linera help-markdown > CLI.md` to update it.'
# exit 1
# fi

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7176054

Please sign in to comment.