Compare commits
2 commits
d6531fdde8
...
156b2441c2
| Author | SHA1 | Date | |
|---|---|---|---|
| 156b2441c2 | |||
| ccb16281fe |
7 changed files with 20 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@ __pycache__/
|
|||
.venv/
|
||||
backup_tool
|
||||
*.egg-info/
|
||||
.tox/
|
||||
|
|
|
|||
8
.woodpecker.yml
Normal file
8
.woodpecker.yml
Normal 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
|
||||
4
Makefile
4
Makefile
|
|
@ -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
Normal file
0
app/__init__.py
Normal file
1
setup.py
1
setup.py
|
|
@ -13,7 +13,6 @@ setup(
|
|||
"black==20.8b1",
|
||||
"flake8==3.8.4",
|
||||
"tox==3.21.1",
|
||||
"pytest==6.2.1",
|
||||
]
|
||||
},
|
||||
)
|
||||
|
|
|
|||
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
7
tox.ini
Normal file
7
tox.ini
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[tox]
|
||||
envlist = py36,py37,py38,py39
|
||||
|
||||
[testenv]
|
||||
deps = pytest
|
||||
commands =
|
||||
pytest
|
||||
Reference in a new issue