Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/api-latency-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,19 @@ jobs:
python -m build --wheel

- name: Install into isolated venv
# `matrix.source` is bound to an env var rather than expanded into the
# script. GitHub substitutes `${{ }}` textually before bash parses the
# line, so an expression in a run: block is script source, not data --
# the surrounding quotes give no protection. This matrix is closed
# (both fromJSON arrays above are literals), so nothing here is
# reachable today; binding it keeps that true if the matrix ever
# starts deriving a value from an input or event payload.
env:
SOURCE: ${{ matrix.source }}
run: |
python -m venv /tmp/vsmoke
/tmp/vsmoke/bin/pip install --upgrade pip
if [ "${{ matrix.source }}" = "pypi" ]; then
if [ "$SOURCE" = "pypi" ]; then
/tmp/vsmoke/bin/pip install --no-cache-dir clawmetry flask waitress cryptography duckdb requests
else
/tmp/vsmoke/bin/pip install dist/clawmetry-*.whl flask waitress cryptography duckdb requests
Expand Down
Loading