-
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (43 loc) · 1.49 KB
/
Copy pathe2e.yml
File metadata and controls
54 lines (43 loc) · 1.49 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# End-to-end and integration tests for robodog-defensive-systems-lab.
# Tests synthetic mission simulation, communications-degradation resilience,
# synthetic signal analysis, and cryptographic channel establishment.
name: E2E + Integration Tests
on:
push:
branches: [main, master, develop]
paths:
- 'src/**'
- 'Cargo.toml'
- '.github/workflows/e2e.yml'
pull_request:
branches: [main, master]
paths:
- 'src/**'
- 'Cargo.toml'
workflow_dispatch:
permissions: read-all
concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e:
name: E2E - Simulation + Resilience + Crypto
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
- name: Rust cache
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2
- name: Run unit tests
run: cargo test --workspace
- name: Run E2E tests specifically
run: cargo test --test end_to_end -- --nocapture
working-directory: src/rust
- name: Compile benchmarks (if present)
run: cargo bench --workspace --no-run 2>/dev/null || echo "No benchmarks configured yet"