fix(ci): start Radicale in its own step - GITHUB_ENV reaches only later steps (#156)
CI / verify (push) Successful in 1m56s

Files changed:
- .gitea/scripts/start-radicale.sh
- .gitea/workflows/ci.yml
This commit is contained in:
torben committed 2026-09-30 13:37:25 +02:00
1 parent 6554791699
commit 5a4c5182b7
2 files changed
+10 -3

No files matched your search

+8 -2
View File
@@ -132,6 +132,14 @@ jobs:
.venv/bin/python -m pytest -q \
--cov --cov-report=term --cov-report=xml --cov-report=html
- name: Start Radicale
# Its own step because the script hands the server's address to the suite through
# $GITHUB_ENV, which only reaches the steps after the one that wrote it.
run: |
set -eu
tools/.venv/bin/pip install --quiet radicale
.gitea/scripts/start-radicale.sh tools/.venv/bin/python /tmp/radicale
- name: Live tracker suite (CalDAV)
# The one live tracker that needs no app and no display: a throwaway Radicale on
# loopback. `CHEMENU_LIVE_REQUIRE=caldav` turns "no server" into a failure - without
@@ -142,8 +150,6 @@ jobs:
CHEMENU_LIVE_REQUIRE: caldav
run: |
set -eu
tools/.venv/bin/pip install --quiet radicale
.gitea/scripts/start-radicale.sh tools/.venv/bin/python /tmp/radicale
cd tools
.venv/bin/python -m pytest -q -m live_tracker -k caldav -s