-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addid github actions "Integration tests"
- Loading branch information
Showing
3 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Based on https://github.com/actions-rs/example/blob/master/.github/workflows/quickstart.yml | ||
|
||
on: | ||
push: | ||
pull_request: | ||
types: [opened] | ||
|
||
name: integration tests | ||
|
||
jobs: | ||
test: | ||
name: Test Suite | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Rust Toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: 1.73.0 | ||
target: wasm32-unknown-unknown | ||
override: true | ||
components: llvm-tools-preview | ||
|
||
- name: Compile WASM contracts | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --release --target wasm32-unknown-unknown --locked --package grid | ||
env: | ||
RUSTFLAGS: "-C link-arg=-s" | ||
|
||
- name: Run Integration Tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --features integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// @generated | ||
|
||
pub mod account; | ||
pub mod auth; | ||
pub mod coin; | ||
pub mod distribution; | ||
pub mod exchange; | ||
pub mod oracle; | ||
pub mod tx; | ||
pub mod oracle; | ||
pub mod account; |