Skip to content

Commit

Permalink
Testing on both stable and future Odra. (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
zie1ony authored Jun 27, 2023
1 parent a774422 commit e06118b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci-cargo-odra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ jobs:
- run: just prepare
- run: just check-lint
- run: just install
- run: just test-project-generation
- run: just test-project-generation-on-stable-odra
- run: just test-project-generation-on-future-odra
14 changes: 12 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
DEVELOPMENT_ODRA_BRANCH := "release/0.5.0"

default:
just --list

Expand All @@ -8,9 +10,17 @@ prepare:
rustup target add wasm32-unknown-unknown
sudo apt install wabt

test-project-generation:
test-project-generation-on-stable-odra:
rm -rf testproject
cargo odra new --name testproject
just test-testproject

test-project-generation-on-future-odra:
rm -rf testproject
cargo odra new --name testproject --source release/0.4.0
cargo odra new --name testproject --source {{DEVELOPMENT_ODRA_BRANCH}}
just test-testproject

test-testproject:
cd testproject && cargo odra generate -c plascoin
cd testproject && cargo odra test
cd testproject && cargo odra test -b casper
Expand Down

0 comments on commit e06118b

Please sign in to comment.