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
7 changes: 5 additions & 2 deletions .github/workflows/publish-release-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@ jobs:
docker run --rm --network none \
--volume "$RUNNER_TEMP/docker-data:/data" \
"$IMAGE" analyze /data/flows.csv --output /data/incidents.jsonl
cmp "$RUNNER_TEMP/docker-data/incidents.jsonl" \
tests/fixtures/product-v01/expected-incidents.jsonl
docker run --rm --network none \
--volume "$RUNNER_TEMP/docker-data:/data" \
--volume "$GITHUB_WORKSPACE/tests/fixtures/product-v01/expected-incidents.jsonl:/expected-incidents.jsonl:ro" \
--entrypoint python "$IMAGE" -c \
"from pathlib import Path; actual = Path('/data/incidents.jsonl').read_bytes(); expected = Path('/expected-incidents.jsonl').read_bytes(); assert actual == expected, 'Docker JSONL differs from golden'"

- name: Publish immutable v0.1.0 tag
env:
Expand Down