2020-06-22 11:10:33 -04:00
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
2022-01-13 09:55:04 -05:00
|
|
|
run: cargo build --verbose --all-features
|
2020-06-22 11:10:33 -04:00
|
|
|
- name: Run tests
|
2022-01-13 09:55:04 -05:00
|
|
|
run: cargo test --verbose --all-features
|
2022-01-13 10:52:27 -05:00
|
|
|
- name: Codecov
|
|
|
|
uses: codecov/codecov-action@v2.1.0
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|