Merge pull request 'feat: CI: init' (#13) from setup-ci into master
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #13
This commit is contained in:
commit
a577bbb025
2 changed files with 35 additions and 0 deletions
19
.woodpecker.yml
Normal file
19
.woodpecker.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
steps:
|
||||||
|
standardize:
|
||||||
|
image: python:3.12-bookworm
|
||||||
|
commands:
|
||||||
|
- python -m pip install --upgrade pip
|
||||||
|
- python -m pip install -r requirements.txt
|
||||||
|
- python -m pip install pylint flake8 mypy>=0.971
|
||||||
|
- python -m flake8 ftest_common/* --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
|
# - python -m pylint -f parseable ftest_common/*.py
|
||||||
|
# - mypy --strict ftest/
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: python:3.12-bookworm
|
||||||
|
commands:
|
||||||
|
- python -m venv venv
|
||||||
|
- /bin/bash -c "source venv/bin/activate"
|
||||||
|
- python -m pip install --upgrade pip
|
||||||
|
- python -m pip install -r requirements.txt
|
||||||
|
- pytest
|
|
@ -1,29 +1,45 @@
|
||||||
|
astroid==3.2.2
|
||||||
build==1.0.3
|
build==1.0.3
|
||||||
certifi==2023.7.22
|
certifi==2023.7.22
|
||||||
cffi==1.16.0
|
cffi==1.16.0
|
||||||
charset-normalizer==3.3.0
|
charset-normalizer==3.3.0
|
||||||
cryptography==41.0.4
|
cryptography==41.0.4
|
||||||
|
dill==0.3.8
|
||||||
docutils==0.20.1
|
docutils==0.20.1
|
||||||
|
flake8==7.0.0
|
||||||
idna==3.4
|
idna==3.4
|
||||||
importlib-metadata==6.8.0
|
importlib-metadata==6.8.0
|
||||||
|
iniconfig==2.0.0
|
||||||
|
isort==5.13.2
|
||||||
jaraco.classes==3.3.0
|
jaraco.classes==3.3.0
|
||||||
jeepney==0.8.0
|
jeepney==0.8.0
|
||||||
keyring==24.2.0
|
keyring==24.2.0
|
||||||
markdown-it-py==3.0.0
|
markdown-it-py==3.0.0
|
||||||
|
mccabe==0.7.0
|
||||||
mdurl==0.1.2
|
mdurl==0.1.2
|
||||||
more-itertools==10.1.0
|
more-itertools==10.1.0
|
||||||
|
mypy==1.10.0
|
||||||
|
mypy-extensions==1.0.0
|
||||||
nh3==0.2.14
|
nh3==0.2.14
|
||||||
packaging==23.2
|
packaging==23.2
|
||||||
pkginfo==1.9.6
|
pkginfo==1.9.6
|
||||||
|
platformdirs==4.2.2
|
||||||
|
pluggy==1.5.0
|
||||||
|
pycodestyle==2.11.1
|
||||||
pycparser==2.21
|
pycparser==2.21
|
||||||
|
pyflakes==3.2.0
|
||||||
Pygments==2.16.1
|
Pygments==2.16.1
|
||||||
|
pylint==3.2.3
|
||||||
pyproject_hooks==1.0.0
|
pyproject_hooks==1.0.0
|
||||||
|
pytest==8.2.2
|
||||||
readme-renderer==42.0
|
readme-renderer==42.0
|
||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
requests-toolbelt==1.0.0
|
requests-toolbelt==1.0.0
|
||||||
rfc3986==2.0.0
|
rfc3986==2.0.0
|
||||||
rich==13.6.0
|
rich==13.6.0
|
||||||
SecretStorage==3.3.3
|
SecretStorage==3.3.3
|
||||||
|
tomlkit==0.12.5
|
||||||
twine==4.0.2
|
twine==4.0.2
|
||||||
|
typing_extensions==4.12.2
|
||||||
urllib3==2.0.5
|
urllib3==2.0.5
|
||||||
zipp==3.17.0
|
zipp==3.17.0
|
||||||
|
|
Loading…
Reference in a new issue