veza/.github/workflows/rust-mutation.yml
senke f059299590
Some checks failed
Veza CD / Build and push images (push) Failing after 1m10s
Chromatic / Visual regression tests (push) Failing after 12s
Veza CI/CD / TMT Vital — Backend (Go) (push) Failing after 3m33s
Veza CI/CD / TMT Vital — Rust Services (push) Failing after 4m48s
Veza CI/CD / TMT Vital — Frontend (Web) (push) Failing after 4m54s
Veza CI/CD / Storybook Audit (push) Failing after 6m50s
Veza CI/CD / E2E Critical (@critical) (push) Failing after 5m2s
Veza CI/CD / E2E Full (shard 1/4) (push) Failing after 4m49s
Veza CI/CD / E2E Full (shard 2/4) (push) Failing after 5m5s
Veza CI/CD / E2E Full (shard 3/4) (push) Failing after 5m9s
Veza CI/CD / E2E Full (shard 4/4) (push) Failing after 5m0s
CodeQL SAST / analyze (go) (push) Failing after 11s
CodeQL SAST / analyze (javascript-typescript) (push) Failing after 9s
Security Scan / Secret Scanning (gitleaks) (push) Failing after 4s
Stream Server CI / test (push) Failing after 11s
Veza CD / Deploy to staging (push) Has been skipped
Veza CI/CD / Notify on failure (push) Successful in 2s
Veza CD / Smoke tests post-deploy (push) Has been skipped
ci: fix Forgejo runner compat (rust, rsync, docker compose)
- Replace dtolnay/rust-toolchain with manual rustup (not on forgejo mirror)
- Replace docker-compose with docker compose (v2)
- Add rsync install before tmt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 17:39:10 +02:00

49 lines
1.6 KiB
YAML

name: Rust Mutation Testing
on:
schedule:
- cron: "0 4 * * 0" # Weekly on Sunday at 4am UTC
workflow_dispatch:
env:
GIT_SSL_NO_VERIFY: "true"
NODE_TLS_REJECT_UNAUTHORIZED: "0"
jobs:
mutants:
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Cache cargo registry
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: |
~/.cargo/registry
~/.cargo/git
veza-stream-server/target
key: ${{ runner.os }}-cargo-mutants-${{ hashFiles('veza-stream-server/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-mutants-
- name: Install cargo-mutants
run: cargo install cargo-mutants
- name: Run mutation testing
run: cd veza-stream-server && cargo mutants --timeout 120 -- --lib
continue-on-error: true
- name: Upload mutation results
if: always()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: mutation-results
path: veza-stream-server/mutants.out/
retention-days: 30