Add workflow for cargo-test

This commit is contained in:
Ajeet D'Souza 2020-10-02 00:20:32 +05:30
parent 88fc3b2cfb
commit dfcb08bad4
2 changed files with 20 additions and 2 deletions

View File

@ -2,8 +2,6 @@ name: cargo-fmt
on: on:
push: push:
paths:
- "**/*.rs"
pull_request: pull_request:
jobs: jobs:

20
.github/workflows/cargo-test.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: cargo-test
on:
push:
pull_request:
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features --no-fail-fast