Build and Test #882
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
schedule: | |
- cron: '21 4 * * *' # every day at 4:21 AM UTC | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: rust-toolchain | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
- name: Build | |
run: cargo build --verbose | |
- name: Run unit tests | |
run: cargo test --bins --verbose | |
- name: Run integration tests | |
run: cargo test --test '*' -- --include-ignored |