diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3bcdfb490..5e79b1ad63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,8 +27,6 @@ jobs: exclude: - os: ubuntu-latest test-category: MSMQ - - os: windows-latest - test-category: IBMMQ fail-fast: false steps: - name: Check for secrets @@ -45,7 +43,7 @@ jobs: global-json-file: global.json - parallel: - name: Setup WSL - uses: Particular/setup-wsl-action@v1.1.0 + uses: Particular/setup-wsl-action@v1.2.0 - name: Download RavenDB Server run: ./tools/download-ravendb-server.ps1 - name: Build @@ -138,17 +136,10 @@ jobs: azure-credentials: ${{ secrets.AZURE_ACI_CREDENTIALS }} tag: ServiceControl - name: Setup IBM MQ + uses: Particular/setup-ibmmq-action@75b6087748fcdaef474574ca1fbe2b440141f07f if: matrix.test-category == 'IBMMQ' - run: | - docker run --name ibmmq -d -p 1414:1414 -p 9443:9443 ` - --health-cmd "dspmq" --health-interval 10s --health-timeout 5s --health-retries 10 --health-start-period 30s ` - -e LICENSE=accept -e MQ_QMGR_NAME=QM1 -e MQ_ADMIN_PASSWORD=passw0rd ` - icr.io/ibm-messaging/mq:latest - # Wait for container health check to pass - while ((docker inspect --format '{{.State.Health.Status}}' ibmmq) -ne 'healthy') { - Start-Sleep -Seconds 2 - } - echo "ServiceControl_TransportTests_IBMMQ_ConnectionString=mq://admin:passw0rd@localhost:1414/QM1?channel=DEV.ADMIN.SVRCONN&topicprefix=DEV" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append + with: + connection-string-name: ServiceControl_TransportTests_IBMMQ_ConnectionString - name: Setup SQS environment variables if: matrix.test-category == 'SQS' run: |