Skip to content

lib.web: update copyright notice. #64

lib.web: update copyright notice.

lib.web: update copyright notice. #64

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
main:
strategy:
matrix:
include:
- python: '3.7'
os: ubuntu-20.04
aiohttp: aiohttp==2.3.3 async_timeout==3.0.1
- 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: run pydiatra
run: |
python3 -m pip install pydiatra
python3 -m pydiatra -v .
- name: run pyflakes
run: |
python3 -m pip install pyflakes
python3 -m pyflakes .
- name: install aiohttp
run: |
python3 -m pip install ${{matrix.aiohttp || 'aiohttp'}}
- name: run pylint
run: |
python3 -m pip install pylint
private/run-pylint
- name: check changelog
run: |
dpkg-parsechangelog -ldoc/changelog --all 2>&1 >/dev/null | { ! grep .; }
- name: check reST syntax
run: |
python3 -m pip install docutils pygments
private/check-rst
- name: build the man page
run: |
make -C doc
- name: run tests
run: |
make test network=1
- name: install
run: |
make install PREFIX=~/.local
- name: check whether the executable was installed correctly
run: |
cd /
urlycue --version
urlycue --help
- name: check whether the man page was installed correctly
env:
MANPATH: /home/runner/.local/share/man
MANWIDTH: 80
run: |
cd /
man 1 urlycue | grep -A 10 -w URLYCUE
- name: run post-install tests
run: |
rm urlycue
make test-installed network=1
git restore urlycue
windows:
strategy:
matrix:
include:
- python: '3.7'
os: windows-2019
aiohttp: aiohttp==2.3.3 async_timeout==3.0.1
- python: '3.10'
os: windows-2019
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: install aiohttp
run: |
python3 -m pip install ${{matrix.aiohttp || 'aiohttp'}}
- name: smoke test
run: |
python3 urlycue doc/README
# vim:ts=2 sts=2 sw=2 et