Skip to content

Commit fe9a2a8

Browse files
committed
Add real PQC integration workflow
1 parent 665415b commit fe9a2a8

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Real PQC Integration
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "src/hybrid_pki/pqc/**"
7+
- "src/hybrid_pki/hybrid/**"
8+
- "tests/test_pqc.py"
9+
- "tests/test_hybrid.py"
10+
- "Dockerfile.pqc"
11+
- ".github/workflows/pqc-integration.yml"
12+
push:
13+
branches: [main]
14+
schedule:
15+
- cron: "30 5 * * 1"
16+
workflow_dispatch:
17+
18+
permissions:
19+
contents: read
20+
21+
jobs:
22+
real-pqc:
23+
name: ML-KEM and ML-DSA integration
24+
runs-on: ubuntu-latest
25+
timeout-minutes: 45
26+
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
31+
- name: Build pinned PQC image
32+
run: docker build --file Dockerfile.pqc --tag hybrid-pki-pqc:test .
33+
34+
- name: Run real PQC and hybrid tests
35+
run: |
36+
docker run --rm \
37+
--env HYBRID_PKI_DISABLE_OQS=0 \
38+
--env HYBRID_PKI_ENABLE_MUTATIONS=1 \
39+
hybrid-pki-pqc:test \
40+
pytest -v tests/test_pqc.py tests/test_hybrid.py

0 commit comments

Comments
 (0)