Skip to content

Commit e59fa27

Browse files
committed
chore(healthcheck): use .env.test in CI & upgrade python version to 3.14
1 parent 92c99b4 commit e59fa27

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/healthcheck-ci.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: astral-sh/setup-uv@v7
2929
with:
3030
enable-cache: true
31-
python-version: "3.11"
31+
python-version: "3.14"
3232

3333
- name: Install dependencies
3434
run: uv sync
@@ -40,17 +40,8 @@ jobs:
4040
run: uv run ruff check .
4141

4242
- name: Run tests & generate HTML coverage report
43-
# TODO: try to mock the env variables in the tests directly
44-
env:
45-
RABBITMQ_HEALTH_URL: "foo_rabbitmq"
46-
SHOVEL_STATUS_URL: "foo_shovel"
47-
ANNUAIRE_HEALTH_URL: "foo_annuaire"
48-
CONVERTER_HEALTH_URL: "foo_converter"
49-
RABBITMQ_MONITORING_USERNAME: "foo"
50-
RABBITMQ_MONITORING_PASSWORD: "bar"
51-
DISPATCHER_CONFIG_FILE_PATH: "dispatchers_config_file_path_example.txt"
5243
run: |
53-
uv run coverage run -m unittest tests/*.py
44+
uv run --env-file .env.test coverage run -m unittest tests/*.py
5445
uv run coverage report -m
5546
uv run coverage html
5647

0 commit comments

Comments
 (0)