← Catalogue

bun

A failed `bun test` (the crossed-out test and its assertion), or a `bun install` that found no matching version.

jstestdepstoolmatcher

Open in playgroundFile on GitHubHistory

Install: ci-doctor matchers add official/bun

matchers/js/bun/matcher.yaml

id: bunrole: toolclassification: [js, test, deps]description: A failed `bun test` (the crossed-out test and its assertion), or a `bun install` that found no matching version.pattern: 'error: No version matching|^\s*✗ |^\s*\d+ fail\b'before: 2after: 12

In bundles

alljs

Fixtures

Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.

bun_test_failureOpen in playground

1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: bun_test_failure
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Received 41943040 of 41943040 (100.0%), 40.0 MBs/sec
33Cache restored from key: Linux-deps-8ad41f02
34##[group]Run bun --version
35bun --version
36bun install --frozen-lockfile
37bun run test
38shell: /usr/bin/bash -e {0}
39##[endgroup]
401.1.18
41bun install v1.1.18 (aad3abea)
42 + zod@3.23.8
43 142 packages installed [1.42s]
44$ bun test
45bun test v1.1.18 (aad3abea)
46
47src/cart.test.ts:
48✓ Cart > adds an item to the cart [0.42ms]
49✓ Cart > removes an item from the cart [0.11ms]
50✗ Cart > applies the loyalty discount before tax
51 error: expect(received).toBe(expected)
52
53 Expected: 2700
54 Received: 3000
55
56 at /builds/team/shop/src/cart.test.ts:18:23
57
58 2 pass
59 1 fail
60 4 expect() calls
61Ran 3 tests across 1 files. [24.00ms]
62error: script "test" exited with code 1
63##[error]Process completed with exit code 1.
64##[group]Post Run actions/checkout@v4
65##[endgroup]
66/usr/bin/git version
67git version 2.54.0
68##[group]Post Run actions/upload-artifact@v4
69##[endgroup]
70Artifact upload complete.
71Post job cleanup.
72Cleaning up orphan processes