We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb18b8f commit 6261930Copy full SHA for 6261930
.github/workflows/2018.yml
@@ -45,4 +45,4 @@ jobs:
45
if: ${{ !contains(matrix.python-version, '2.' )}}
46
47
- name: Test with pytest
48
- run: pytest
+ run: pytest -n auto --slow
2018/day21/test_day21.py
@@ -4,6 +4,8 @@
4
https://adventofcode.com/2018/day/21
5
"""
6
7
+import pytest
8
+
9
from os import path
10
from .day21 import run_part1, run_part2
11
@@ -23,6 +25,7 @@ def test_part1():
23
25
assert run_part1(file_content) == 6619857
24
26
27
28
+@pytest.mark.slow
29
def test_part2():
30
"""Tests for Part 2."""
31
with open(_INPUT_FILE, 'r') as input_file:
2018/requirements.txt
@@ -1,3 +1,4 @@
1
pylint
2
pytest
3
+pytest-skip-slow
pytest-xdist
0 commit comments