From 299e7d4fa6270a034b9c044aaa24f3a8f72dceed Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Sun, 17 Mar 2024 12:52:33 +0100 Subject: [PATCH] ci: disable tests as we dont have any Signed-off-by: Timo Glastra --- .github/workflows/continuous-integration.yaml | 10 +++------ ...siop-npm-0.3.2-unstable.0-6a34120d09.patch | 21 ------------------- 2 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 .yarn/patches/@sphereon-did-auth-siop-npm-0.3.2-unstable.0-6a34120d09.patch diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index ba4b3000..d683d48d 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -8,11 +8,6 @@ on: branches: - main -# Cancel multiple runs for the same PR or branch -concurrency: - group: aries-framework-${{ github.ref }}-${{ github.repository }}-${{ github.event_name }} - cancel-in-progress: true - jobs: validate: runs-on: ubuntu-22.04 @@ -42,5 +37,6 @@ jobs: - name: Check Types run: yarn check-types - - name: Unit Tests - run: yarn test:unit + # Can be re-enabled when we have tests, but we don't have any + # - name: Unit Tests + # run: yarn test:unit diff --git a/.yarn/patches/@sphereon-did-auth-siop-npm-0.3.2-unstable.0-6a34120d09.patch b/.yarn/patches/@sphereon-did-auth-siop-npm-0.3.2-unstable.0-6a34120d09.patch deleted file mode 100644 index fdaa438a..00000000 --- a/.yarn/patches/@sphereon-did-auth-siop-npm-0.3.2-unstable.0-6a34120d09.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/dist/authorization-response/PresentationExchange.js b/dist/authorization-response/PresentationExchange.js -index 46e80f434179752a8770dc604c54074451c18f8f..82881914d3c45bffe008da89f67d149d1644c23f 100644 ---- a/dist/authorization-response/PresentationExchange.js -+++ b/dist/authorization-response/PresentationExchange.js -@@ -104,10 +104,12 @@ class PresentationExchange { - }); - } - static assertValidPresentationSubmission(presentationSubmission) { -- const validationResult = pex_1.PEX.validateSubmission(presentationSubmission); -- if (validationResult[0].message != 'ok') { -- throw new Error(`${types_1.SIOPErrors.RESPONSE_OPTS_PRESENTATIONS_SUBMISSION_IS_NOT_VALID}, details ${JSON.stringify(validationResult[0])}`); -- } -+ // FIXME: enable validation. Currently it fails only in react native -+ // See issue: https://github.com/Sphereon-Opensource/PEX/issues/118 -+ // const validationResult = pex_1.PEX.validateSubmission(presentationSubmission); -+ // if (validationResult[0].message != 'ok') { -+ // throw new Error(`${types_1.SIOPErrors.RESPONSE_OPTS_PRESENTATIONS_SUBMISSION_IS_NOT_VALID}, details ${JSON.stringify(validationResult[0])}`); -+ // } - } - /** - * Finds a valid PresentationDefinition inside the given AuthenticationRequestPayload