Skip to content

Commit 4abfea7

Browse files
committed
update test targets
1 parent 57a1d8f commit 4abfea7

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/pr-smoke-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
run: |
134134
mkdir -p $HOME/.local/share/goose/sessions
135135
mkdir -p $HOME/.config/goose
136-
source ../../bin/activate-hermit && pnpm run test:integration -- tests/integration/test_providers.test.ts
136+
source ../../bin/activate-hermit && pnpm run test:integration:providers
137137
working-directory: ui/desktop
138138

139139
- name: Set up Python
@@ -211,7 +211,7 @@ jobs:
211211
run: |
212212
mkdir -p $HOME/.local/share/goose/sessions
213213
mkdir -p $HOME/.config/goose
214-
source ../../bin/activate-hermit && pnpm run test:integration -- tests/integration/test_providers_code_exec.test.ts
214+
source ../../bin/activate-hermit && pnpm run test:integration:providers-code-exec
215215
working-directory: ui/desktop
216216

217217
compaction-tests:
@@ -287,5 +287,5 @@ jobs:
287287
SKIP_BUILD: 1
288288
run: |
289289
echo 'export PATH=/some/fake/path:$PATH' >> $HOME/.bash_profile
290-
source ../../bin/activate-hermit && pnpm run test:integration -- tests/integration/goosed.test.ts
290+
source ../../bin/activate-hermit && pnpm run test:integration:goosed
291291
working-directory: ui/desktop

RELEASE_CHECKLIST.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Make a copy of this document for each version and check off as steps are verifie
1717

1818
### Provider Testing
1919

20-
- [ ] Run `cd ui/desktop && pnpm run test:integration -- tests/integration/test_providers.test.ts` locally from the release branch and verify all providers/models work
20+
- [ ] Run `cd ui/desktop && pnpm run test:integration:providers` locally from the release branch and verify all providers/models work
2121
- [ ] Launch goose, click reset providers, choose databricks and a model
2222

2323
### Starting Conversations

ui/desktop/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
"test:ui": "vitest --ui",
3636
"test:coverage": "vitest run --coverage",
3737
"test:integration": "vitest run --config vitest.integration.config.ts",
38+
"test:integration:goosed": "vitest run --config vitest.integration.config.ts tests/integration/goosed.test.ts",
39+
"test:integration:providers": "vitest run --config vitest.integration.config.ts tests/integration/test_providers.test.ts",
40+
"test:integration:providers-code-exec": "vitest run --config vitest.integration.config.ts tests/integration/test_providers_code_exec.test.ts",
3841
"test:integration:watch": "vitest --config vitest.integration.config.ts",
3942
"test:integration:debug": "DEBUG=1 vitest run --config vitest.integration.config.ts",
4043
"i18n:extract": "formatjs extract 'src/**/*.{ts,tsx}' --out-file src/i18n/messages/en.json --flatten && pnpm run i18n:compile",

0 commit comments

Comments
 (0)