From 8b1879dcb48f08f9164868beb2b9dbf8b12219a3 Mon Sep 17 00:00:00 2001 From: robinbryce Date: Thu, 14 Nov 2024 12:23:22 +0000 Subject: [PATCH] Dev/robin/10153 merge requires config (#29) * testing the Merge Requires workflow * force fail on-failure --------- Co-authored-by: Robin Bryce --- .github/workflows/merge-requires.yml | 4 +++- unittests/test_create_hashed_signed_statement.py | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/merge-requires.yml b/.github/workflows/merge-requires.yml index 6e4d086..46515d2 100644 --- a/.github/workflows/merge-requires.yml +++ b/.github/workflows/merge-requires.yml @@ -23,4 +23,6 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'failure' }} steps: - - run: echo 'One or more configured repository checks failed' + - run: | + echo 'One or more configured repository checks failed' + exit 1 diff --git a/unittests/test_create_hashed_signed_statement.py b/unittests/test_create_hashed_signed_statement.py index 81f1a2a..504b54d 100644 --- a/unittests/test_create_hashed_signed_statement.py +++ b/unittests/test_create_hashed_signed_statement.py @@ -55,6 +55,9 @@ def test_sign_and_verify_statement(self): tests we can also verifiy that signed statement. """ + # XXX: TODO: Testing CI/CD infra + assert False is True + # create the signed statement signing_key = SigningKey.generate(curve=NIST256p)