Skip to content

Commit 2eb176e

Browse files
committed
CI: run unit tests in CI
1 parent 90ff4d8 commit 2eb176e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,33 @@ jobs:
206206
RUST_LOG: debug
207207
RUST_BACKTRACE: full
208208

209+
210+
# Test external crate.
211+
rt-monoio:
212+
runs-on: ubuntu-latest
213+
214+
steps:
215+
- name: Setup | Checkout
216+
uses: actions/checkout@v2
217+
218+
219+
- name: Setup | Toolchain
220+
uses: actions-rs/toolchain@v1.0.6
221+
with:
222+
toolchain: "nightly"
223+
override: true
224+
225+
226+
- name: Unit Tests
227+
uses: actions-rs/cargo@v1
228+
with:
229+
command: test
230+
args: --tests --manifest-path "rt-monoio/Cargo.toml"
231+
env:
232+
RUST_LOG: debug
233+
RUST_BACKTRACE: full
234+
235+
209236
# Feature "serde" will be enabled if one of the member crates enables
210237
# "serde", such as `memstore`, when building a cargo workspace.
211238
#

0 commit comments

Comments
 (0)