Skip to content

Commit

Permalink
Run proptests only on main
Browse files Browse the repository at this point in the history
  • Loading branch information
lubkoll committed Jul 19, 2024
1 parent 7c5d0d8 commit 9c839c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cl_vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
- 'smart-contracts/contracts/cl-vault/**.rs'
- 'smart-contracts/contracts/dex-router-osmosis/Cargo.toml'
- 'smart-contracts/contracts/dex-router-osmosis/**.rs'
- '.github/workflows/**.yml'
- '.github/workflows/cl_vault.yml'
- '.github/workflows/rust_basic.yml'
push:
branches:
- main
Expand All @@ -18,7 +19,8 @@ on:
- 'smart-contracts/contracts/cl-vault/**.rs'
- 'smart-contracts/contracts/dex-router-osmosis/Cargo.toml'
- 'smart-contracts/contracts/dex-router-osmosis/**.rs'
- '.github/workflows/**.yml'
- '.github/workflows/cl_vault.yml'
- '.github/workflows/rust_basic.yml'
workflow_dispatch:

jobs:
Expand Down
3 changes: 2 additions & 1 deletion smart-contracts/contracts/cl-vault/.cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
wasm = "build --release --lib --target wasm32-unknown-unknown"
unit-test = "test --lib"
schema = "run --bin schema"
test-tube = "test --package cl-vault --lib -- --include-ignored test_tube:: --nocapture --test-threads=1"
test-tube = "test --package cl-vault --lib -- --include-ignored test_tube:: --nocapture --test-threads=1 --skip test_complete_works"
prop-test = "test test_tube::proptest::tests::test_complete_works --lib -- --include-ignored test_tube:: --nocapture --test-threads=1 --exact"
test-tube-build = "build --release --lib --target wasm32-unknown-unknown --target-dir ./test-tube-build"

0 comments on commit 9c839c8

Please sign in to comment.