GeezerVison is showing github.com — fix(ci): create JUnit output dirs before tests (#20959) · nathanhinish/opencode@00fa68b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
75 | 75 | uses: actions/upload-artifact@v4 |
76 | 76 | with: |
77 | 77 | name: unit-${{ matrix.settings.name }}-${{ github.run_attempt }} |
| 78 | + include-hidden-files: true |
78 | 79 | if-no-files-found: ignore |
79 | 80 | retention-days: 7 |
80 | 81 | path: packages/*/.artifacts/unit/junit.xml |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/app/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
15 | 15 | "build": "vite build", |
16 | 16 | "serve": "vite preview", |
17 | 17 | "test": "bun run test:unit", |
18 | | - "test:ci": "bun test --preload ./happydom.ts ./src --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", |
| 18 | + "test:ci": "mkdir -p .artifacts/unit && bun test --preload ./happydom.ts ./src --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", |
19 | 19 | "test:unit": "bun test --preload ./happydom.ts ./src", |
20 | 20 | "test:unit:watch": "bun test --watch --preload ./happydom.ts ./src", |
21 | 21 | "test:e2e": "playwright test", |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/opencode/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
9 | 9 | "prepare": "effect-language-service patch || true", |
10 | 10 | "typecheck": "tsgo --noEmit", |
11 | 11 | "test": "bun test --timeout 30000", |
12 | | - "test:ci": "bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", |
| 12 | + "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", |
13 | 13 | "build": "bun run script/build.ts", |
14 | 14 | "upgrade-opentui": "bun run script/upgrade-opentui.ts", |
15 | 15 | "dev": "bun run --conditions=browser ./src/index.ts", |
|