Skip to content

Commit

Permalink
stash qg state on run
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman committed Oct 26, 2023
1 parent 3e92103 commit 628512e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/actions/quality-gate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ runs:
working-directory: tests/quality
run: poetry run make capture provider=${{ inputs.provider }}

- name: Archive the provider state (${{ inputs.provider }})
shell: bash
run: tar -czvf qg-capture-state-${{ inputs.provider }}.tar.gz -C tests/quality .yardstick .oras-cache

- name: Upload the provider state archive (${{ inputs.provider }})
uses: actions/upload-artifact@v3
with:
name: qg-capture-state-${{ inputs.provider }}
path: qg-capture-state-${{ inputs.provider }}.tar.gz

- name: Validate provider results
shell: bash
working-directory: tests/quality
Expand Down

0 comments on commit 628512e

Please sign in to comment.