Skip to content

Update icon path in desktop shortcut docs #124

Update icon path in desktop shortcut docs

Update icon path in desktop shortcut docs #124

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Run mypy
run: |
pip install mypy==0.971
mypy --ignore-missing-imports .
- name: Run black
run: |
pip install black==22.6.0
black --check --diff rpi_backlight tests
- name: Test with pytest
run: |
pip install pytest
python -m pytest
- name: Build package
run: |
pip install setuptools wheel
python setup.py sdist bdist_wheel
- name: Run twine check
run: |
pip install twine
python -m twine check dist/*