Skip to content

Commit e22d192

Browse files
authored
Ci (#130)
* Delete pytest.ini * Update pyproject.toml * Update requirements.txt
1 parent 64d216a commit e22d192

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

pyproject.toml

+11
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,14 @@ packages = ["aocd"]
5151
[project.entry-points]
5252
"adventofcode.user" = {} # for user solvers
5353
"adventofcode.examples" = {} # for example-parser implementations
54+
55+
[tool.pytest.ini_options]
56+
addopts = """
57+
--strict-markers
58+
--disable-socket
59+
--allow-unix-socket
60+
--cov-branch
61+
--cov=aocd --cov=tests
62+
--cov-report=html --cov-report=term-missing:skip-covered"""
63+
xfail_strict = true
64+
markers = "answer_not_cached"

pytest.ini

-11
This file was deleted.

tests/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ pytest-raisin
88
pytest-freezer
99
pytest-socket
1010
rich
11+
freezegun < 1.3 # 1.3+ doesn't play well with pytest-socket on windows

0 commit comments

Comments
 (0)