diff options
author | Ivan Tham | 2021-06-05 11:32:10 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-06 09:10:02 +0000 |
commit | ce99ecc7a2ccb77bc1e1513ff4c7bfbb7b80b996 (patch) | |
tree | 3a55cbe994acaed9c153345d4f8d827b1e1f1954 /.github/workflows | |
parent | 2ac496f919aeef4733367caac06ed4c39975822b (diff) |
Add more coverage for CI
Runs every day as cron. Add matrix for test, includes windows and macos.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1921a457..3e393bd9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,11 +1,11 @@ name: Build on: - push: - branches: - - master pull_request: + push: branches: - master + schedule: + - cron: '00 01 * * *' jobs: check: @@ -49,7 +49,7 @@ jobs: test: name: Test Suite - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} steps: - name: Checkout sources uses: actions/checkout@v2 @@ -60,7 +60,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: ${{ matrix.rust }} override: true - name: Cache cargo registry @@ -86,6 +86,10 @@ jobs: with: command: test + strategy: + os: [ubuntu-latest, macos-latest, windows-latest] + rust: [stable, nightly] + lints: name: Lints runs-on: ubuntu-latest |