Skip to content

Commit 5cfd7a8

Browse files
committed
Run just a subset of suites
1 parent bb0b70c commit 5cfd7a8

File tree

1 file changed

+0
-73
lines changed

1 file changed

+0
-73
lines changed

.github/workflows/test-authnz.yaml

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -31,76 +31,3 @@ concurrency:
3131
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
3232
cancel-in-progress: true
3333
jobs:
34-
selenium:
35-
runs-on: ubuntu-22.04
36-
strategy:
37-
fail-fast: false
38-
matrix:
39-
erlang_version:
40-
- "26.2"
41-
browser:
42-
- chrome
43-
include:
44-
- erlang_version: "26.2"
45-
elixir_version: 1.17.3
46-
env:
47-
SELENIUM_DIR: selenium
48-
DOCKER_NETWORK: rabbitmq_net
49-
steps:
50-
- name: Checkout
51-
uses: actions/checkout@v4
52-
53-
- name: Configure OTP & Elixir
54-
uses: erlef/[email protected]
55-
with:
56-
otp-version: ${{ matrix.erlang_version }}
57-
elixir-version: ${{ matrix.elixir_version }}
58-
hexpm-mirrors: |
59-
https://builds.hex.pm
60-
https://cdn.jsdelivr.net/hex
61-
62-
- name: Authenticate To Google Cloud
63-
uses: google-github-actions/[email protected]
64-
with:
65-
credentials_json: ${{ secrets.REMOTE_CACHE_CREDENTIALS_JSON }}
66-
67-
- name: Build & Load RabbitMQ OCI
68-
run: |
69-
make package-generic-unix
70-
make docker-image
71-
72-
- name: Configure Docker Network
73-
run: |
74-
docker network create ${DOCKER_NETWORK}
75-
76-
- name: Build Test Runner Image
77-
run: |
78-
cd ${SELENIUM_DIR}
79-
docker build -t mocha-test --target test .
80-
81-
- name: Run Suites
82-
run: |
83-
IMAGE_TAG=$(find PACKAGES/rabbitmq-server-generic-unix-*.tar.xz | awk -F 'PACKAGES/rabbitmq-server-generic-unix-|.tar.xz' '{print $2}')
84-
RABBITMQ_DOCKER_IMAGE=pivotalrabbitmq/rabbitmq:$IMAGE_TAG \
85-
${SELENIUM_DIR}/run-suites.sh full-suite-authnz-messaging
86-
mkdir -p /tmp/full-suite-authnz-messaging
87-
mv /tmp/selenium/* /tmp/full-suite-authnz-messaging
88-
89-
- name: Upload Test Artifacts
90-
if: always()
91-
uses: actions/[email protected]
92-
with:
93-
name: test-artifacts-${{ matrix.browser }}-${{ matrix.erlang_version }}
94-
path: |
95-
logs/*
96-
screens/*
97-
/tmp/selenium/*
98-
99-
summary-selenium:
100-
needs:
101-
- selenium
102-
runs-on: ubuntu-latest
103-
steps:
104-
- name: SUMMARY
105-
run: |
106-
echo "SUCCESS"

0 commit comments

Comments
 (0)