Skip to content

Commit 0f79357

Browse files
committed
fix: 2023 tests
1 parent f00d038 commit 0f79357

File tree

12 files changed

+20
-2
lines changed

12 files changed

+20
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
run: uv sync --all-extras --dev
5151

5252
- name: Run tests
53-
run: uv run pytest tests/
53+
run: uv run pytest */tests/

2023/solutions/__init__.py

Whitespace-only changes.

2023/tests/__init__.py

Whitespace-only changes.

2023/tests/test_01.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
def test_day01_part1():
55
TestSolutionUtility.run_test(
6+
year=2023,
67
day=1,
78
is_raw=False,
89
part_num=1,
@@ -12,6 +13,7 @@ def test_day01_part1():
1213

1314
def test_day01_part2():
1415
TestSolutionUtility.run_test(
16+
year=2023,
1517
day=1,
1618
is_raw=False,
1719
part_num=2,

2023/tests/test_02.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
def test_day02_part1():
55
TestSolutionUtility.run_test(
6+
year=2023,
67
day=2,
78
is_raw=False,
89
part_num=1,
@@ -12,6 +13,7 @@ def test_day02_part1():
1213

1314
def test_day02_part2():
1415
TestSolutionUtility.run_test(
16+
year=2023,
1517
day=2,
1618
is_raw=False,
1719
part_num=2,

2023/tests/test_03.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
def test_day03_part1():
55
TestSolutionUtility.run_test(
6+
year=2023,
67
day=3,
78
is_raw=False,
89
part_num=1,
@@ -11,7 +12,8 @@ def test_day03_part1():
1112

1213

1314
def test_day03_part2():
14-
TestSolutionUtility.run_test(
15+
TestSolutionUtility.run_test(
16+
year=2023,
1517
day=3,
1618
is_raw=False,
1719
part_num=2,

2023/tests/test_04.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
def test_day04_part1():
55
TestSolutionUtility.run_test(
6+
year=2023,
67
day=4,
78
is_raw=False,
89
part_num=1,
@@ -12,6 +13,7 @@ def test_day04_part1():
1213

1314
def test_day04_part2():
1415
TestSolutionUtility.run_test(
16+
year=2023,
1517
day=4,
1618
is_raw=False,
1719
part_num=2,

2023/tests/test_05.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
def test_day05_part1():
55
TestSolutionUtility.run_test(
6+
year=2023,
67
day=5,
78
is_raw=False,
89
part_num=1,
@@ -12,6 +13,7 @@ def test_day05_part1():
1213

1314
def test_day05_part2():
1415
TestSolutionUtility.run_test(
16+
year=2023,
1517
day=5,
1618
is_raw=False,
1719
part_num=2,

2023/tests/test_06.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
def test_day06_part1():
55
TestSolutionUtility.run_test(
6+
year=2023,
67
day=6,
78
is_raw=False,
89
part_num=1,
@@ -12,6 +13,7 @@ def test_day06_part1():
1213

1314
def test_day06_part2():
1415
TestSolutionUtility.run_test(
16+
year=2023,
1517
day=6,
1618
is_raw=False,
1719
part_num=2,

2023/tests/test_07.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
def test_day07_part1():
55
TestSolutionUtility.run_test(
6+
year=2023,
67
day=7,
78
is_raw=False,
89
part_num=1,
@@ -12,6 +13,7 @@ def test_day07_part1():
1213

1314
def test_day07_part2():
1415
TestSolutionUtility.run_test(
16+
year=2023,
1517
day=7,
1618
is_raw=False,
1719
part_num=2,

0 commit comments

Comments
 (0)