Skip to content

Commit

Permalink
make CI: Set a correct broker version for CLI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoguin committed Sep 20, 2024
1 parent 022256b commit c394f1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test-make-target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,17 @@ jobs:
sudo aa-complain `which slapd`
- name: RUN TESTS
if: inputs.plugin != 'rabbitmq_cli'
run: |
make -C deps/${{ inputs.plugin }} ${{ inputs.make_target }} RABBITMQ_METADATA_STORE=${{ inputs.metadata_store }}
# rabbitmq_cli needs a correct broker version for two of its tests.
# But setting PROJECT_VERSION makes other plugins fail.
- name: RUN TESTS (rabbitmq_cli)
if: inputs.plugin == 'rabbitmq_cli'
run: |
make -C deps/${{ inputs.plugin }} ${{ inputs.make_target }} RABBITMQ_METADATA_STORE=${{ inputs.metadata_store }} PROJECT_VERSION="$PROJECT_VERSION"
- name: UPLOAD TEST LOGS
if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c394f1c

Please sign in to comment.