From 902e73514d6743f7d7ce39aef5e861f20bcb1f07 Mon Sep 17 00:00:00 2001 From: Brandt Keller Date: Mon, 8 Jul 2024 18:03:29 +0000 Subject: [PATCH] fix(oscal): decouple file extraction for CI --- .github/workflows/test.yaml | 4 ++++ tasks/test.yaml | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 63da84078..03f71c2b5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -70,6 +70,10 @@ jobs: if: ${{ inputs.package == 'all' && inputs.test_type == 'install' }} run: uds run test-compliance-evaluate --no-progress + - name: Store UDS Core Compliance Assessment Results + if: ${{ inputs.package == 'all' && inputs.test_type == 'install' }} + run: cp ./compliance/oscal-assessment-results.yaml /tmp/oscal-assessment-results.yaml + - name: Test UDS Core Upgrade if: ${{ inputs.package == 'all' && inputs.test_type == 'upgrade' }} run: uds run test-uds-core-upgrade --set FLAVOR=${{ inputs.flavor }} --no-progress diff --git a/tasks/test.yaml b/tasks/test.yaml index 7c80d3bc4..446348e0b 100644 --- a/tasks/test.yaml +++ b/tasks/test.yaml @@ -56,5 +56,3 @@ tasks: - task: compliance:evaluate with: assessment_results: ./compliance/oscal-assessment-results.yaml - - description: copy assessment file to log location - cmd: cp ./compliance/oscal-assessment-results.yaml /tmp/oscal-assessment-results.yaml