Skip to content

Commit 59aa614

Browse files
chore: configure tox for testing
1 parent ee9c39e commit 59aa614

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.github/workflows/docker-images.yml

Whitespace-only changes.

ical-simplejson-proxy/test_app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def test_always_passes():
2+
assert True

ical-simplejson-proxy/tox.ini

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[tox]
2+
skipsdist=True
3+
envlist=py{38,39,310}, black
4+
5+
[gh-actions]
6+
python =
7+
3.8: py38
8+
3.9: py39
9+
3.10: py310
10+
11+
[testenv]
12+
commands=py.test -vv {posargs:}
13+
deps=
14+
pytest
15+
pytest-cov
16+
mock
17+
pytest-mock
18+
requests-mock
19+
20+
[testenv:black]
21+
basepython = python3.9
22+
deps = black
23+
commands = black --check .

0 commit comments

Comments
 (0)