meta: bump to 0.5.2 and fix pylint<3 #13
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: | |
branches: | |
- master | |
- v[0-9]+.[0-9]+.x | |
pull_request: | |
branches: | |
- master | |
- v[0-9]+.[0-9]+.x | |
jobs: | |
tests: | |
if: ${{ github.repository_owner == 'sopel-irc' }} | |
name: Quality & Test Suite | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install --upgrade -r requirements.txt | |
python -m pip install -e . | |
- name: Lint | |
run: | | |
isort sopel_help | |
flake8 | |
pylint sopel_help | |
pyroma . | |
- name: Tests | |
run: | | |
coverage run -m pytest -v . |