File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,17 +2,24 @@ name: Tests
22
33on :
44 push :
5- branches :
6- - main
5+ branches : [main]
76 pull_request :
87
8+ permissions :
9+ contents : read
10+
911jobs :
1012 tests :
11- name : Run tests
13+ name : Python ${{ matrix.python-version }}
1214 runs-on : ubuntu-latest
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ python-version : ["3.11", "3.12"]
1319
1420 env :
1521 HYBRID_PKI_DISABLE_OQS : " 1"
22+ HYBRID_PKI_ENABLE_MUTATIONS : " 1"
1623
1724 steps :
1825 - name : Checkout repository
@@ -21,15 +28,14 @@ jobs:
2128 - name : Set up Python
2229 uses : actions/setup-python@v5
2330 with :
24- python-version : " 3.12"
31+ python-version : ${{ matrix.python-version }}
32+ cache : pip
2533
26- - name : Install dependencies
34+ - name : Install project
2735 run : |
2836 python -m pip install --upgrade pip
2937 pip install -r requirements.txt
3038 pip install -e .
31- pip install pytest pytest-cov
3239
33- - name : Run tests
34- run : |
35- pytest -v --cov=hybrid_pki --cov-report=term-missing
40+ - name : Run standard-mode tests
41+ run : pytest -v --cov=hybrid_pki --cov-report=term-missing
You can’t perform that action at this time.
0 commit comments