diff options
| author | Philip Kuryloski <kuryloskip@vmware.com> | 2021-03-10 15:41:57 +0100 |
|---|---|---|
| committer | Philip Kuryloski <kuryloskip@vmware.com> | 2021-03-10 15:41:57 +0100 |
| commit | cfa08a861dd34f3b017fdcfec2ea8fc51b4452f0 (patch) | |
| tree | a9a0559976ce8a80ce8e1fd905fb9960e46d12d4 | |
| parent | b6e0a7bc87567b20414902f835a09c49dc717c6f (diff) | |
| download | rabbitmq-server-git-cfa08a861dd34f3b017fdcfec2ea8fc51b4452f0.tar.gz | |
WIP: GitHub Actions without docker images 28
| -rw-r--r-- | .github/workflows/test-erlang-otp-23.1.yaml | 10 | ||||
| -rw-r--r-- | .github/workflows/test-erlang-otp-git.yaml | 10 | ||||
| -rw-r--r-- | workflow_sources/test/rabbitmq_cli.lib.yml | 12 |
3 files changed, 22 insertions, 10 deletions
diff --git a/.github/workflows/test-erlang-otp-23.1.yaml b/.github/workflows/test-erlang-otp-23.1.yaml index 5c2a1339dc..f1797fb02d 100644 --- a/.github/workflows/test-erlang-otp-23.1.yaml +++ b/.github/workflows/test-erlang-otp-23.1.yaml @@ -11332,12 +11332,16 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: | make start-background-broker \ - PLUGINS='rabbitmq_federation rabbitmq_stomp' - - name: RUN TESTS + PLUGINS='rabbitmq_federation rabbitmq_stomp' \ + RABBITMQ_VERSION="3.9.0" + - name: COMPILE TESTS if: steps.cache.outputs.cache-hit != 'true' run: | make -C deps/rabbitmq_cli tests MIX_TEST_OPTS="--exclude test" - make -C deps/rabbitmq_cli tests RABBITMQ_VERSION="3.9.0" + - name: RUN TESTS + if: steps.cache.outputs.cache-hit != 'true' + run: | + make -C deps/rabbitmq_cli tests - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT uses: actions/upload-artifact@v2-preview if: failure() diff --git a/.github/workflows/test-erlang-otp-git.yaml b/.github/workflows/test-erlang-otp-git.yaml index a1479a15a2..e19ec98c6c 100644 --- a/.github/workflows/test-erlang-otp-git.yaml +++ b/.github/workflows/test-erlang-otp-git.yaml @@ -5475,12 +5475,16 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: | make start-background-broker \ - PLUGINS='rabbitmq_federation rabbitmq_stomp' - - name: RUN TESTS + PLUGINS='rabbitmq_federation rabbitmq_stomp' \ + RABBITMQ_VERSION="3.9.0" + - name: COMPILE TESTS if: steps.cache.outputs.cache-hit != 'true' run: | make -C deps/rabbitmq_cli tests MIX_TEST_OPTS="--exclude test" - make -C deps/rabbitmq_cli tests RABBITMQ_VERSION="3.9.0" + - name: RUN TESTS + if: steps.cache.outputs.cache-hit != 'true' + run: | + make -C deps/rabbitmq_cli tests - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT uses: actions/upload-artifact@v2-preview if: failure() diff --git a/workflow_sources/test/rabbitmq_cli.lib.yml b/workflow_sources/test/rabbitmq_cli.lib.yml index c3a593d9af..755e68a14f 100644 --- a/workflow_sources/test/rabbitmq_cli.lib.yml +++ b/workflow_sources/test/rabbitmq_cli.lib.yml @@ -30,15 +30,19 @@ steps: elixir-version: #@ data.values.elixir_version - name: START BACKGROUND BROKER if: steps.cache.outputs.cache-hit != 'true' + #@ rabbitmq_version = data.values.base_rmq_ref.replace('master', '3.9.x').replace('.x', '.0') run: | make start-background-broker \ - PLUGINS='rabbitmq_federation rabbitmq_stomp' - - name: RUN TESTS + PLUGINS='rabbitmq_federation rabbitmq_stomp' \ + RABBITMQ_VERSION="(@= rabbitmq_version @)" + - name: COMPILE TESTS if: steps.cache.outputs.cache-hit != 'true' - #@ rabbitmq_version = data.values.base_rmq_ref.replace('master', '3.9.x').replace('.x', '.0') run: | make -C deps/(@= dep.name @) tests MIX_TEST_OPTS="--exclude test" - make -C deps/(@= dep.name @) tests RABBITMQ_VERSION="(@= rabbitmq_version @)" + - name: RUN TESTS + if: steps.cache.outputs.cache-hit != 'true' + run: | + make -C deps/(@= dep.name @) tests - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT #! https://github.com/marketplace/actions/upload-artifact uses: actions/upload-artifact@v2-preview |
