feat!: change docker-compose install path #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
} | |
}' |