Compare commits

...

2 Commits

Author SHA1 Message Date
Jef Roosens 156b2441c2
Added basic woodpecker config
continuous-integration/drone the build failed Details
2021-04-24 19:39:49 +02:00
Jef Roosens ccb16281fe
Added tox config 2021-04-24 19:38:03 +02:00
7 changed files with 20 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ __pycache__/
.venv/
backup_tool
*.egg-info/
.tox/

8
.woodpecker.yml 100644
View File

@ -0,0 +1,8 @@
pipeline:
# TODO add config for all other versions
text-3.9-current:
image: python:3.9
pull: true
commands:
- pip install -e .[dev]
- tox -e py39

View File

@ -35,3 +35,7 @@ app: backup_tool
install: app
cp backup_tool /usr/local/bin
.PHONY: install
test: venv tox.ini
@ .venv/bin/tox
.PHONY: test

0
app/__init__.py 100644
View File

View File

@ -13,7 +13,6 @@ setup(
"black==20.8b1",
"flake8==3.8.4",
"tox==3.21.1",
"pytest==6.2.1",
]
},
)

View File

7
tox.ini 100644
View File

@ -0,0 +1,7 @@
[tox]
envlist = py36,py37,py38,py39
[testenv]
deps = pytest
commands =
pytest