Skip to content

Commit f0b5ef9

Browse files
committed
test workflow
1 parent 31415b4 commit f0b5ef9

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,17 @@ jobs:
2727
run: yarn install --frozen-lockfile
2828

2929
- name: Gotta build the lib first for downstream stuff
30-
run: yarn build:lib
31-
- name: Run all the tests
32-
run: yarn test
30+
run: yarn build
31+
- name: Run unit tests
32+
run: yarn test:unit
33+
34+
- name: Run integration tests
35+
run: yarn test:integration
3336
env:
3437
# This ensures testcontainers can find Docker
3538
TESTCONTAINERS_HOST_OVERRIDE: "localhost"
3639

37-
- name: Build
38-
run: yarn build
39-
40-
# - name: Lint
41-
# run: yarn lint
42-
40+
4341
- name: Format check
4442
run: yarn format:check
4543

packages/server/tests/integration/server.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import { spawnSync } from 'child_process';
2-
import { join } from 'path';
3-
import { existsSync } from 'fs';
41

52
describe('Server tests', () => {
63
// Very basic test for server functionality

packages/server/tests/unit/server.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import { spawnSync } from 'child_process';
2-
import { join } from 'path';
3-
import { existsSync } from 'fs';
41

52
describe('Server tests', () => {
63
// Very basic test for server functionality

0 commit comments

Comments
 (0)