Nightly Tests #1586
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@v4 | |
with: | |
submodules: true | |
- name: Install musl-tools | |
run: "sudo apt-get install musl-tools" | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@d0e72ca3bfdc51937a4f81431ccbed269ef9f2a2 | |
with: | |
components: "cargo,rustc,rust-std" | |
toolchain: "stable" | |
targets: "x86_64-unknown-linux-musl" | |
- name: Docker Permissions | |
run: sudo chmod a+rw /var/run/docker.sock | |
- run: | | |
cargo test \ | |
--target=x86_64-unknown-linux-musl \ | |
--test=github-nightly \ | |
--features=github_nightly \ | |
-- \ | |
${{ matrix.test_suite }}:: |