Skip to content

Commit

Permalink
allow read commited snapshot to allow parallelised jest tests that us…
Browse files Browse the repository at this point in the history
…es transactions
  • Loading branch information
momentiris committed Dec 10, 2024
1 parent 46ee101 commit 1b9a6f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,10 @@ jobs:
node-version: '20'
- name: Create db
run: |
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P Passw0rd! -Q "CREATE DATABASE [tenants-leases-test]"
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P Passw0rd! -Q "
CREATE DATABASE [tenants-leases-test];
ALTER DATABASE [tenants-leases-test] SET READ_COMMITTED_SNAPSHOT ON;
"
- name: Install dependencies
run: npm ci
- name: Run tests

0 comments on commit 1b9a6f5

Please sign in to comment.