30 lines
785 B
YAML
30 lines
785 B
YAML
---
|
|
name: Persistent store tests
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'libraries/peristent_store/**'
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
persistent_store_test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install Rust toolchain
|
|
run: rustup show
|
|
|
|
- name: Unit testing of Persistent store library (release mode)
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --manifest-path libraries/persistent_store/Cargo.toml --release --features=std
|
|
|
|
- name: Unit testing of Persistent store library (debug mode)
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --manifest-path libraries/persistent_store/Cargo.toml --features=std
|