From 9ff32b0e1c0391ba6443738c01831b7964415055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Garc=C3=ADa=20Garz=C3=B3n?= Date: Wed, 4 Dec 2024 15:43:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20notify=20ci=20on=20telegram?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f81dfc..1876f68 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,31 +21,44 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + - name: Install system dependencies run: | sudo apt update -qq sudo apt install -y libsndfile1 portaudio19-dev + - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + - name: Install dependencies run: | pip install -e . + - uses: BSFishy/pip-action@v1 with: packages: | markdown-full-yaml-metadata PyAudio coveralls + - name: Unit tests run: | pytest + - name: Coveralls uses: AndreMiras/coveralls-python-action@develop with: parallel: true flag-name: python-${{ matrix.python-version }} + - name: 📢 Notify status changes + if: always() + uses: vokimon/gha-notify-telegram@master + with: + token: ${{ secrets.TELEGRAM_TOKEN }} + to: ${{ secrets.TELEGRAM_CHAT_ID }} + coveralls_finish: needs: build runs-on: ubuntu-latest