Nightly Tests #1316
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: Nightly Tests | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
repository_dispatch: | |
types: ["nightly-test"] | |
push: | |
branches: | |
- nightly-test | |
env: | |
RUST_TEST_THREADS: 1 | |
jobs: | |
nightly-test: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
strategy: | |
max-parallel: 4 | |
matrix: | |
os: [ubuntu-latest] | |
test_suite: | |
- compat | |
- install | |
- upgrade | |
- project | |
steps: | |
- uses: actions/checkout@master | |
- name: Install musl-tools | |
run: "sudo apt-get install musl-tools" | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.58.0 | |
target: x86_64-unknown-linux-musl | |
default: true | |
- name: Docker Permissions | |
run: sudo chmod a+rw /var/run/docker.sock | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: | | |
--target=x86_64-unknown-linux-musl | |
--test=github-nightly | |
--features=github_nightly | |
-- | |
${{ matrix.test_suite }}:: |