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