Skip to content

.github/workflows/cloud-client-tests.yml #6524

.github/workflows/cloud-client-tests.yml

.github/workflows/cloud-client-tests.yml #6524

on:
workflow_dispatch:
schedule:
- cron: '46 * * * *'
jobs:
cloud-client-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 1
matrix:
cloud-client-version:
- 'releases/latest'
- 'releases/6.1.3'
- 'main'
ucm-release-version:
- 'release%2F0.5.25'
- 'trunk-build'
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run tests
env:
CLOUD_CLIENT_VERSION: ${{ matrix.cloud-client-version }}
UCM_RELEASE: ${{ matrix.ucm-release-version }}
UNISON_CLOUD_ACCESS_TOKEN: ${{ secrets.CLOUD_USER_ACCESS_TOKEN }}
UNISON_DEBUG: timing
run: |
apt-get update && apt-get -y install gettext-base
./run-tests.sh
- name: Slack notification
if: ${{ failure() }}
uses: slackapi/slack-github-action@v1.24.0
with:
channel-id: 'C02DSE7K3EF'
payload: |
{
"text": "Cloud client integration tests production ${{ job.status }} (version: ${{ matrix.cloud-client-version }}). ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Cloud client integration tests production ${{ job.status }} (version: ${{ matrix.cloud-client-version }}). <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Details>"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}