Skip to content

Commit

Permalink
Fix test pipeline.
Browse files Browse the repository at this point in the history
Removed livenet tests, waiting for working nctl image.
  • Loading branch information
kubaplas committed Aug 5, 2024
1 parent 19e060f commit b315b2e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
test:
name: Test
runs-on: buildjet-8vcpu-ubuntu-2204
services:
casper-nctl:
image: makesoftware/casper-nctl:v155
options: --name mynctl
env:
PREDEFINED_ACCOUNTS: 'true'
MINIMUM_ROUND_EXPONENT: '12'
MAXIMUM_ROUND_EXPONENT: '14'
DEPLOY_DELAY: '5sec'
ports:
- 11101:11101
# services:
# casper-nctl:
# image: makesoftware/casper-nctl:v200-rc3
# options: --name mynctl
# env:
# PREDEFINED_ACCOUNTS: 'true'
# MINIMUM_ROUND_EXPONENT: '12'
# MAXIMUM_ROUND_EXPONENT: '14'
# DEPLOY_DELAY: '30sec'
# ports:
# - 11101:11101
steps:
- name: Setup just
uses: extractions/setup-just@v1
Expand All @@ -50,5 +50,5 @@ jobs:
run: just prepare-test-env
- name: Run tests
run: just test
- name: Run livenet tests
run: just test-livenet
# - name: Run livenet tests
# run: just test-livenet
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated by Cargo
# will have compiled files and executables
global_state
target
.*
*.env
Expand Down
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,10 @@ serde-json-wasm = "1.0"

[patch.crates-io]
casper-types = { version = "5.0.0", git = "https://github.com/casper-network/casper-node", branch = "rustSDK-feat-2.0" }

[profile.release]
codegen-units = 1
lto = true

[profile.dev.package."*"]
opt-level = 3
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ test-examples-on-odravm:
cd examples/ourcoin && cargo odra test

test-examples-on-casper:
mkdir -p examples/wasm
cp modules/wasm/Erc20.wasm examples/wasm/
cd examples && cargo odra test -b casper
cd examples/ourcoin && cargo odra test -b casper
Expand Down

0 comments on commit b315b2e

Please sign in to comment.