Use cargo make for tests in CI (#107)

* chore: use cargo make for builds/tests

* chore: add step to install cargo-make
This commit is contained in:
Rahul Ghangas 2023-01-31 20:46:33 +05:30 committed by GitHub
parent 01fdba6d88
commit 5bcbc6c22f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 9 deletions

View File

@ -48,9 +48,11 @@ jobs:
override: true
- name: Update git submodules
run: git submodule update --init --recursive
- name: cargo test
- name: Install cargo-make
run: cargo install cargo-make
- name: cargo-make test
run: |
cargo test --release
cargo make test --release
working-directory: multiplier
semaphore:
@ -72,9 +74,11 @@ jobs:
override: true
- name: Update git submodules
run: git submodule update --init --recursive
- name: cargo test
- name: Install cargo-make
run: cargo install cargo-make
- name: cargo-make test
run: |
cargo test --release
cargo make test --release
working-directory: semaphore
rln-wasm:
@ -99,7 +103,7 @@ jobs:
- run: cargo install cargo-make
- run: cargo make build
working-directory: rln-wasm
- run: cargo make test
- run: cargo-make test
working-directory: rln-wasm
rln:
@ -121,9 +125,11 @@ jobs:
override: true
- name: Update git submodules
run: git submodule update --init --recursive
- name: cargo test
- name: Install cargo-make
run: cargo install cargo-make
- name: cargo-make test
run: |
cargo test --release
cargo make test --release
working-directory: rln
utils:
@ -145,9 +151,11 @@ jobs:
override: true
- name: Update git submodules
run: git submodule update --init --recursive
- name: cargo test
- name: Install cargo-make
run: cargo install cargo-make
- name: cargo-make test
run: |
cargo test --release
cargo make test --release
working-directory: utils
lint: