Skip to content

Commit

Permalink
fix: add dependency on github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JulissaDantes committed Jul 25, 2024
1 parent 59c99a2 commit 9074c6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions packages/runtime/test/runtime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9074c6f

Please sign in to comment.