Skip to content

Commit

Permalink
🔧 notify ci on telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed Dec 4, 2024
1 parent bc6065d commit 9ff32b0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ff32b0

Please sign in to comment.