Skip to content

Add a Docker container for dot #173

Add a Docker container for dot

Add a Docker container for dot #173

Workflow file for this run

name: build-dot
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- "**.md"
jobs:
build-and-test:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
cache: 'pip'
cache-dependency-path: 'requirements*.txt'
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y ffmpeg libsndfile1-dev
pip install -r requirements.txt
pip install -e .
- name: Unit Tests
run: |
pip install -c requirements-dev.txt --force-reinstall pytest pytest-cov
pytest --cov=src --cov-report=term-missing:skip-covered --cov-fail-under=10