๐๏ธ bump to 1.5.2 #148
Workflow file for this run
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: CI | |
on: | |
push: # on push commits at any branch | |
pull_request: # on external PR | |
workflow_dispatch: # on demand | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
TRAVIS: 'true' # Skip tests requiring data | |
strategy: | |
matrix: | |
python-version: | |
- '3.8' # oldest supported Py3 gha | |
- '3.9' # last version importlib.metadata.entry_points with dictionary interface | |
- '3.10' # first version using importlib.metadata.entry_points with selection interface | |
- '3' # newest supported Py3 | |
name: Python ${{ matrix.python-version }} | |
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 | |
steps: | |
- name: Coveralls Finished | |
uses: AndreMiras/coveralls-python-action@develop | |
with: | |
parallel-finished: true |