File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 65
65
echo "PYKCS11LIB=$(brew --prefix softhsm)/lib/softhsm/libsofthsm2.so" >> $GITHUB_ENV
66
66
67
67
elif [ "$RUNNER_OS" == "Windows" ]; then
68
- choco install softhsm.install
69
- echo "PYKCS11LIB=C:\SoftHSM2\lib\softhsm2-x64.dll" >> $GITHUB_ENV
68
+ echo "Skipping HSM tests on Windows"
69
+ # see https://github.com/secure-systems-lab/securesystemslib/issues/520
70
+
70
71
71
72
else
72
73
echo "$RUNNER_OS not supported"
Original file line number Diff line number Diff line change
1
+ """Securesystemslib tests.
1
2
3
+ NOTE: This file is only considered when running tests via aggregate_tests.py, or
4
+ with the '-m' flag, when invoked individually.
5
+
6
+ """
7
+
8
+ # Increase gpg subprocess timeout -- Windows CI fails frequently with default 10s.
9
+ import securesystemslib .gpg .constants
10
+
11
+ securesystemslib .gpg .constants .GPG_TIMEOUT = 120
Original file line number Diff line number Diff line change 21
21
commands =
22
22
python -m tests.check_gpg_available
23
23
coverage run tests/aggregate_tests.py
24
- coverage report -m --fail-under 90
24
+ coverage report -m --fail-under 85
25
25
26
26
[testenv:purepy311]
27
27
deps =
You can’t perform that action at this time.
0 commit comments