Skip to content

Commit e75ce7e

Browse files
author
bakhee
committed
feat: update ci
1 parent fe3cc78 commit e75ce7e

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414
description = "Add your description here"
1515
name = "async-python-sprint-1"
1616
readme = "README.md"
17-
requires-python = ">=3.13"
17+
requires-python = ">=3.12"
1818
version = "0.5.0"
1919

2020
[tool.coverage.run]

tests/test_analyze.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
from src.schemas.dto import TransformedDayDTO, TransformTaskDTO
77

88

9+
@pytest.fixture(autouse=True)
10+
def set_env_vars(monkeypatch):
11+
monkeypatch.setenv("PYTHON_VER_MIN_MAJOR", "3")
12+
monkeypatch.setenv("PYTHON_VER_MIN_MINOR", "9")
13+
14+
915
@pytest.fixture
1016
def mock_transformed_data():
1117
return [

tests/test_fetch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
from src.schemas.weather_response import WeatherResponse
88

99

10-
class WeatherResponseFactory(ModelFactory[WeatherResponse]): ...
10+
class WeatherResponseFactory(ModelFactory[WeatherResponse]):
11+
__random_seed__ = 1
1112

1213

1314
@pytest.fixture

0 commit comments

Comments
 (0)