Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/test-management-ui-for-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,16 @@ jobs:
IMAGE_TAG=$(find PACKAGES/rabbitmq-server-generic-unix-*.tar.xz | awk -F 'PACKAGES/rabbitmq-server-generic-unix-|.tar.xz' '{print $2}')
RABBITMQ_DOCKER_IMAGE=pivotalrabbitmq/rabbitmq:$IMAGE_TAG \
${SELENIUM_DIR}/run-suites.sh short-suite-management-ui

- name: Prepare logs for upload
if: ${{ failure() && steps.tests.outcome == 'failed' }}
run: |
mkdir -p /tmp/short-suite
mv /tmp/selenium/* /tmp/short-suite

- name: Upload Test Artifacts
if: always()
uses: actions/upload-artifact@v4.3.2
if: ${{ failure() && steps.tests.outcome == 'failed' }}
uses: actions/upload-artifact@v4
with:
name: test-artifacts-${{ matrix.browser }}-${{ matrix.erlang_version }}
path: |
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test-management-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,22 @@ jobs:
docker build -t mocha-test --target test .

- name: Run full UI suite on a 3-node rabbitmq cluster
id: tests
run: |
IMAGE_TAG=$(find PACKAGES/rabbitmq-server-generic-unix-*.tar.xz | awk -F 'PACKAGES/rabbitmq-server-generic-unix-|.tar.xz' '{print $2}')
RABBITMQ_DOCKER_IMAGE=pivotalrabbitmq/rabbitmq:$IMAGE_TAG \
${SELENIUM_DIR}/run-suites.sh full-suite-management-ui

- name: Prepare logs for upload
if: ${{ failure() && steps.tests.outcome == 'failed' }}
run: |
mkdir -p /tmp/full-suite
mv /tmp/selenium/* /tmp/full-suite
mv -v /tmp/selenium/* /tmp/full-suite

- name: Upload Test Artifacts
if: always()
if: ${{ failure() && steps.tests.outcome == 'failed' }}
uses: actions/upload-artifact@v4.3.2
with:
name: test-artifacts-${{ matrix.browser }}-${{ matrix.erlang_version }}
path: |
/tmp/full-suite
/tmp/short-suite
Loading