This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (63 loc) · 1.62 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: CI
on:
- push
- pull_request
jobs:
main:
strategy:
matrix:
include:
- python: '3.5'
os: ubuntu-20.04
- 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-dev'
os: ubuntu-22.04
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- name: set up Python ${{matrix.python}}
uses: actions/setup-python@v4
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