Commit 864d021
authored
SEP-1001: Fix Coverage (main) workflow by setting POETRY env var (#552)
Add a workflow-level `env: POETRY: poetry` declaration to
`.github/workflows/coverage-main.yml`, mirroring
`.github/workflows/python.yaml` (lines 13-14).
The `Coverage (main)` workflow has been failing on every push to `main`
because `make test` exits with code 127 — without the `POETRY` env var,
the `Makefile`'s `ifdef POETRY` branch is skipped and `VENV` falls
through to its default value, so `${VENV_BIN}/pytest` resolves to a
non-existent path. With the env var set, `VENV` is resolved via `poetry
env info --path`, pointing at the Poetry-managed virtualenv that `poetry
install --with syncmysql` populates.1 parent acc5bac commit 864d021
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
0 commit comments