Skip to content

Commit

Permalink
test: runner sudo for gha
Browse files Browse the repository at this point in the history
  • Loading branch information
whalelephant committed Dec 14, 2023
1 parent be33469 commit a2f3cbc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ wasm-factory = "build --release --lib --target=wasm32-unknown-unknown --package
wasm-proxy = "build --release --lib --target=wasm32-unknown-unknown --package vectis-proxy"
wasm-plugin-registry = "build --lib --release --target=wasm32-unknown-unknown --package vectis-plugin-registry"

[net]
# git-fetch-with-cli = true # use the `git` executable for git operations

[env]
RUSTFLAGS = "-C link-arg=-s"

[target.x86_64-unknown-linux-gnu]
runner = 'sudo -E' # gha
7 changes: 2 additions & 5 deletions .github/workflows/test_tube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
test-tube-tests:
name: Integration tests
runs-on: ubuntu-latest
env:
GAS_OUT_DIR: gas_reports
GAS_LIMIT: 100000000
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand All @@ -24,7 +21,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-02
toolchain: stable
target: wasm32-unknown-unknown
override: true

Expand Down Expand Up @@ -59,4 +56,4 @@ jobs:
run: make build-contracts

- name: Run Test Tube Integration Tests
run: UNAME=$(uname -p) cargo test -- test-tube
run: cargo test -- test-tube
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/vectis-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cw3-flex-multisig = { git = "https://github.com/nymlab/cw-plus", rev = "175c7da
cw4-group= { version = "1.0.1", features = ["library"] }
cw3 = "1.0.1"
cw4 = "1.0.1"
cw-multi-test = "0.19.0"
cw-multi-test = "0.18.0"
sha2 = { workspace = true }
p256 = {version = "0.13.2", default-features = false, features = ["alloc", "ecdsa"]}
base64ct = {version = "1.6.0", default-features = false, features = ["alloc"] }
Expand Down

0 comments on commit a2f3cbc

Please sign in to comment.