diff --git a/.github/actions/quality-gate/action.yaml b/.github/actions/quality-gate/action.yaml index 501ffcad..359b1834 100644 --- a/.github/actions/quality-gate/action.yaml +++ b/.github/actions/quality-gate/action.yaml @@ -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