4 ambi panning #72
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: checks | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3 | |
- name: Install flake8 | |
run: pip --disable-pip-version-check install flake8 | |
- name: Lint with flake8 | |
run: flake8 --count | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: 3 | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install dependencies | |
run: | | |
sudo apt-get install libsndfile1 libsndfile1-dev | |
poetry export -f requirements.txt --output requirements.txt | |
pip install -r requirements.txt | |
- name: Test | |
run: poetry run python -m unittest |