Update rust.yml
This commit is contained in:
parent
b26322cd33
commit
4f1324411c
|
@ -11,25 +11,28 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose --all-features
|
run: cargo build --all-features
|
||||||
|
|
||||||
- name: Install stable toolchain
|
test:
|
||||||
uses: actions-rs/toolchain@v1
|
runs-on: ubuntu-latest
|
||||||
with:
|
steps:
|
||||||
toolchain: stable
|
- uses: actions/checkout@v2
|
||||||
override: true
|
- name: Test
|
||||||
|
run: cargo test --all-features
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
- name: Run cargo-tarpaulin
|
- name: Run cargo-tarpaulin
|
||||||
uses: actions-rs/tarpaulin@v0.1
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/tarpaulin@v0.1
|
||||||
with:
|
with:
|
||||||
version: '0.19.0'
|
version: '0.19.0'
|
||||||
args: --all-features --verbose --out=Xml
|
args: --all-features --out=Xml
|
||||||
|
|
||||||
- name: Upload to codecov.io
|
- name: Upload to codecov.io
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
|
|
Loading…
Reference in New Issue