-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 892 Bytes
/
Copy pathtest.yml
File metadata and controls
34 lines (27 loc) · 892 Bytes
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
name: GitLab Attack Lab - Static Validation
# Note: Deployment tests require a local Dockerized GitLab lab and are intentionally
# excluded from GitHub-hosted CI. This workflow runs the offline CI-safe suite only.
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
static-validation:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -r tests/requirements.txt
- name: Run CI-safe test suite
run: |
echo "Running offline CI-safe tests..."
python -m pytest tests/ci -m ci -v --tb=short