Skip to content

Validate DCoF PR signoff (#434) #1

Validate DCoF PR signoff (#434)

Validate DCoF PR signoff (#434) #1

Workflow file for this run

name: Build
on:
push:
pull_request:
types: [opened, edited, synchronize]
jobs:
lib:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install CPython
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
- name: Install Deps
run: |
python -m ensurepip
pip install wheel setuptools
pip install -r requirements.txt
- name: Build
run: python setup.py sdist bdist_wheel
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install CPython
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install Deps
run: |
sudo apt update
sudo apt install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
python -m ensurepip
pip install -r docs/requirements.txt
pip install -r requirements.txt
- name: Build Docs
run: |
cd docs
make html
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: install black
run: |
python -m ensurepip
pip install black
- name: run linter
run: |
black twitchio --line-length 120 --verbose --check