Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

env:
VICEROY_TAG: v0.16.2

jobs:
build:
runs-on: forge-amd64-medium
Expand Down Expand Up @@ -40,16 +43,15 @@ jobs:
id: cache-cargo
uses: actions/cache@v4
with:
key: python-sdk-compatible-2
key: "viceroy-$VICEROY_TAG"
path: |
~/.cargo/bin/
- name: Install wasm-tools and wac
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: cargo install wasm-tools wac-cli
- name: Install viceroy
if: steps.cache-cargo.outputs.cache-hit != 'true'
# When you switch tags, update the cache key in the cache-cargo step.
run: cargo install --git https://github.com/fastly/Viceroy.git --tag erik/python-sdk-compatible-2 viceroy
run: cargo install --git https://github.com/fastly/Viceroy.git --tag "$VICEROY_TAG" viceroy
- name: Install dependencies
run: uv sync --extra dev --extra test
- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion fastly_compute/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ def pytest_runtest_makereport(item, call):
file=sys.stderr,
)
# Show last 15 lines of output
for line in server.output_lines[-15:]:
for line in server.output_lines[-50:]:
print(f" {line}", file=sys.stderr)
print("=== End viceroy output ===", file=sys.stderr)
Loading