1
0
Fork 0

Adding upstream version 1.0.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 07:43:11 +01:00
parent 5cd8ebe7c9
commit 70c11d34fc
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
55 changed files with 6853 additions and 0 deletions

46
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,46 @@
name: Tests
on:
- push
- pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: install system dependencies
run: |
sudo apt update
sudo apt install python3-lxml python3-dateutil
- name: install Python dependencies
run: |
pip install bandit flake8 coverage liccheck
- name: install feedgen
run: |
python setup.py install
- name: run linter
run: make test
- name: run license check
run: liccheck -s .licenses.ini
- name: run tests
run: |
python -m feedgen
python -m feedgen atom
python -m feedgen rss
- name: run coverage
run: coverage report --fail-under=93