Skip to content

Commit eaa0bd2

Browse files
committed
make CI: Set a correct broker version for CLI tests
1 parent 022256b commit eaa0bd2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test-make-target.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,14 @@ jobs:
5858
5959
sudo aa-complain `which slapd`
6060
61+
# rabbitmq_cli needs a correct broker version for two of its tests.
62+
- name: SETUP PROJECT_VERSION (rabbitmq_cli)
63+
if: inputs.plugin == 'rabbitmq_cli'
64+
run: echo "PROJECT_VERSION=4.1.0" >> "$GITHUB_ENV"
65+
6166
- name: RUN TESTS
6267
run: |
63-
make -C deps/${{ inputs.plugin }} ${{ inputs.make_target }} RABBITMQ_METADATA_STORE=${{ inputs.metadata_store }}
68+
make -C deps/${{ inputs.plugin }} ${{ inputs.make_target }} RABBITMQ_METADATA_STORE=${{ inputs.metadata_store }} PROJECT_VERSION=$PROJECT_VERSION
6469
6570
- name: UPLOAD TEST LOGS
6671
if: always()

0 commit comments

Comments
 (0)