diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2d205a1ddae..cb83d9209015 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,8 @@ jobs: awx-operator: runs-on: ubuntu-latest timeout-minutes: 60 + env: + DEBUG_OUTPUT_DIR: /tmp/awx_operator_molecule_test steps: - name: Checkout awx uses: actions/checkout@v3 @@ -111,6 +113,14 @@ jobs: env: AWX_TEST_IMAGE: local/awx AWX_TEST_VERSION: ci + STORE_DEBUG_OUTPUT: true + + - name: Upload debug output + if: failure() + uses: actions/upload-artifact@v3 + with: + name: awx-operator-debug-output + path: ${{ env.DEBUG_OUTPUT_DIR }} collection-sanity: name: awx_collection sanity