Skip to content

Commit

Permalink
mikeo r4 automation
Browse files Browse the repository at this point in the history
  • Loading branch information
ounsworth committed Nov 2, 2024
1 parent eecb37f commit a5910eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/artifact_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ jobs:
with:
name: Compatibility_bc_csv
path: output/
- name: Build compat matrix (r3)
run: ./src/rebuild_results_certs_r3.sh
- name: Build compat matrix (r4)
run: ./src/rebuild_results_certs_r4.sh
- name: Copy output files
run: mv ./docs/pqc_hackathon_results_certs_r3.html ./docs/pqc_hackathon_results_certs_r3_automated_tests.html ./docs/pqc_hackathon_results_certs_r4.html ./docs/pqc_hackathon_results_cms_v1.html ./output/certs/oqs_certs.log ./output/certs/bc_certs.log ./docs/gh-pages
run: mv ./docs/pqc_hackathon_results_certs_r4.html ./docs/pqc_hackathon_results_certs_r4_automated_tests.html ./docs/pqc_hackathon_results_cms_v1.html ./output/certs/oqs_certs.log ./output/certs/bc_certs.log ./docs/gh-pages
- name: Archive Compatibility Matrix For Download
uses: actions/upload-pages-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions src/pqc_report_writer_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ def passedAllVerifiers(generator, oid, algorithmVerificationResults) -> int:
relevant_avrs = [algorithmVerificationResult for algorithmVerificationResult in algorithmVerificationResults if algorithmVerificationResult.generator == generator and algorithmVerificationResult.key_algorithm_oid == oid]

for algorithmVerificationResult in relevant_avrs:
if algorithmVerificationResult.test_result is None or algorithmVerificationResult.test_result is '':
if algorithmVerificationResult.test_result == None or algorithmVerificationResult.test_result is '':
continue

if algorithmVerificationResult.test_result is 'Y':
if algorithmVerificationResult.test_result == 'Y':
passedOne = True
else:
failedOne = True
Expand Down

0 comments on commit a5910eb

Please sign in to comment.