Skip to content

Commit

Permalink
fix(oscal): decouple file extraction for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtkeller committed Jul 8, 2024
1 parent 3d98c96 commit 902e735
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions tasks/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 902e735

Please sign in to comment.