Skip to content

Nightly Test

Nightly Test #827

Workflow file for this run

name: Nightly Test
on:
schedule:
- cron: '30 7 * * *'
pull_request:
paths:
- '.github/workflows/nightly.yml'
- 'mosec/**'
- 'src/**'
- 'pyproject.toml'
- 'Cargo.lock'
- 'Cargo.toml'
- 'tests/bad_req.py'
push:
branches:
- main
paths:
- '.github/workflows/nightly.yml'
- 'mosec/**'
- 'src/**'
- 'pyproject.toml'
- 'Cargo.lock'
- 'Cargo.toml'
- 'tests/bad_req.py'
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
test:
name: "stressful bad requests test"
runs-on: ${{ matrix.os }}
timeout-minutes: 45
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Install dependencies
run: make install_py
- name: Test
run: make test_chaos