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: 11 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ jobs:
summarize: false
- uses: DeterminateSystems/magic-nix-cache-action@v13
- run: nix build .#docker
- name: Index scip-go with docker image
run: |
image=$(docker load -i result | sed -n 's/Loaded image: //p')
echo "Loaded $image"
docker run --rm \
-v "$GITHUB_WORKSPACE:/work" \
"$image" \
scip-go -o /work/index.scip
size=$(stat --format='%s' index.scip)
echo "Index size: $size bytes"
[ "$size" -ge 1024 ] || { echo "FAIL: index too small"; exit 1; }

index:
needs: [build]
Expand Down
Loading