This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
Simplify class definition. #49
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 | |
- pull_request | |
jobs: | |
main: | |
strategy: | |
matrix: | |
include: | |
- python: '3.6' | |
os: ubuntu-20.04 | |
- python: '3.7' | |
os: ubuntu-20.04 | |
- python: '3.8' | |
os: ubuntu-20.04 | |
- python: '3.9' | |
os: ubuntu-20.04 | |
- python: '3.10' | |
os: ubuntu-22.04 | |
- python: '3.11' | |
os: ubuntu-22.04 | |
- python: '3.12' | |
os: ubuntu-22.04 | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up Python ${{matrix.python}} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{matrix.python}} | |
- name: set up APT | |
run: | | |
printf 'Apt::Install-Recommends "false";\n' | sudo tee -a /etc/apt/apt.conf | |
sudo apt-get update | |
- name: install python-aalib | |
run: | | |
sudo apt-get install libaa1 | |
python3 -m pip install python-aalib | |
- name: install Pillow | |
run: | | |
python3 -m pip install pillow | |
- name: smoke test | |
run: | | |
./abdicate --help | |
- name: run pydiatra | |
run: | | |
python3 -m pip install pydiatra | |
python3 -m pydiatra -v abdicate | |
- name: run pyflakes | |
run: | | |
python3 -m pip install pyflakes | |
python3 -m pyflakes abdicate | |
- name: run pylint | |
run: | | |
python3 -m pip install pylint | |
python3 -m pylint abdicate | |
- name: check README syntax | |
run: | | |
python3 -m pip install restructuredtext-lint pygments | |
rst-lint --level=info --encoding=UTF-8 README | |
# vim:ts=2 sts=2 sw=2 et |