-
Notifications
You must be signed in to change notification settings - Fork 54
38 lines (32 loc) · 1000 Bytes
/
daily_tests.yml
File metadata and controls
38 lines (32 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Daily tests
permissions:
contents: read
on:
schedule:
- cron: "0 0 * * *" # Midnight of each day
# We don't need to run older workflows for the same PR's, since we always want the output of the newest ones.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- nightly
steps:
- name: Checkout sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Install toolchain
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
with:
toolchain: ${{ matrix.toolchain }}
- name: Run cargo test - debug
run: cargo test --all-features
- name: Run cargo test - release
run: cargo test --release --all-features