Skip to content

feat: add report tips #42

feat: add report tips

feat: add report tips #42

Workflow file for this run

name: 🩺 Test
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- main
paths:
- 'test/**'
- 'docker-compose/**'
- 'install.sh'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
platform: [debian, fedora, ubuntu]
steps:
- uses: actions/checkout@v3
- name: Test the repository
run: |
cd test
make build_${{ matrix.platform }}
- name: Warning
if: ${{ failure() }}
run: |
curl ${{ secrets.WECOM_ROBOT }} \
-H 'Content-Type: application/json' \
-d '{
"msgtype": "markdown",
"markdown": {
"content": "⚠️ helm-charts test fail, please check the logs.\n
>Job Log: [https://github.com/dream-num/helm-charts/actions/runs/${{ github.run_id }}](https://github.com/dream-num/helm-charts/actions/runs/${{ github.run_id }})
>enviroment: docker-compose"
}
}'