From 9074c6f8432b56343956aa0bdbebecaab71542a4 Mon Sep 17 00:00:00 2001 From: JulissaDantes Date: Thu, 25 Jul 2024 11:15:54 -0400 Subject: [PATCH] fix: add dependency on github workflow --- .github/workflows/build-test.yml | 3 +++ packages/runtime/test/runtime.test.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index a9bf4a472..a45fa5ef7 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -42,6 +42,9 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- + - name: Install Python dependencies + run: sudo apt-get install python3-distutils + - name: Install dependencies and build run: pnpm install --frozen-lockfile diff --git a/packages/runtime/test/runtime.test.ts b/packages/runtime/test/runtime.test.ts index 6e7beb156..eaf69e089 100644 --- a/packages/runtime/test/runtime.test.ts +++ b/packages/runtime/test/runtime.test.ts @@ -975,7 +975,7 @@ describe('runtime', () => { expect(unsetRes.data).toMatchSnapshot() }, 30000) - test('runtime operations on models with immutable field', async () => { + test.only('runtime operations on models with immutable field', async () => { const postWithImmutableFieldSchema = ` interface TestInterface @createModel(description: "Test interface with immutable field") { testField: String @string(maxLength: 50) @immutable @@ -1045,7 +1045,7 @@ describe('runtime', () => { }` const res2 = await runtime.executeQuery(updatePost, { - i: { id: docID, content: { title: 'A different title' }, testList: ['d', 'e'] }, + i: { id: docID, content: { title: 'A different title', testList: ['d', 'e'] }}, }) expect(res2.errors?.length).toBe(2)