Skip to content

Commit 7ee9714

Browse files
committed
Merged in master
2 parents 182237c + 8adef2b commit 7ee9714

75 files changed

Lines changed: 5942 additions & 742 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
include:
2222
- { runner: spacetimedb-runner, smoketest_args: --docker }
2323
- { runner: windows-latest, smoketest_args: --no-build-cli }
24-
runner: [spacetimedb-runner, windows-latest]
24+
runner: [ spacetimedb-runner, windows-latest ]
2525
runs-on: ${{ matrix.runner }}
2626
steps:
2727
- name: Find Git ref
@@ -44,6 +44,10 @@ jobs:
4444
- uses: actions/setup-dotnet@v4
4545
with:
4646
global-json-file: modules/global.json
47+
- name: Install psql (Windows)
48+
if: runner.os == 'Windows'
49+
run: choco install psql -y --no-progress
50+
shell: powershell
4751
- name: Build and start database (Linux)
4852
if: runner.os == 'Linux'
4953
run: docker compose up -d
@@ -54,11 +58,13 @@ jobs:
5458
Start-Process target/debug/spacetimedb-cli.exe start
5559
cd modules
5660
# the sdk-manifests on windows-latest are messed up, so we need to update them
57-
dotnet workload config --update-mode workload-set
61+
dotnet workload config --update-mode manifests
5862
dotnet workload update
5963
- uses: actions/setup-python@v5
6064
with: { python-version: '3.12' }
6165
if: runner.os == 'Windows'
66+
- name: Install psycopg2
67+
run: python -m pip install psycopg2-binary
6268
- name: Run smoketests
6369
# Note: clear_database and replication only work in private
6470
run: python -m smoketests ${{ matrix.smoketest_args }} -x clear_database replication

.github/workflows/typescript-test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,20 @@ jobs:
3737
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
3838
restore-keys: |
3939
${{ runner.os }}-pnpm-store-
40+
41+
- name: Build module library
42+
working-directory: crates/bindings-typescript
43+
run: pnpm build
44+
45+
- name: Run module library tests
46+
working-directory: crates/bindings-typescript
47+
run: pnpm test
4048

41-
- name: Build
49+
- name: Build SDK
4250
working-directory: sdks/typescript
4351
run: pnpm build
4452

45-
- name: Run sdk tests
53+
- name: Run SDK tests
4654
working-directory: sdks/typescript/packages/sdk
4755
run: pnpm test
4856

0 commit comments

Comments
 (0)