Skip to content

Commit

Permalink
Store molecule debug output to github artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealHaoLiu committed Apr 12, 2024
1 parent 390c2d8 commit 762355b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 762355b

Please sign in to comment.