Skip to content

Commit 7859fad

Browse files
committed
Fix tests
1 parent f3dc84f commit 7859fad

File tree

7 files changed

+916
-3075
lines changed

7 files changed

+916
-3075
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.10", "3.11", "3.12"]
10+
python-version: ["3.11", "3.12"]
1111

1212
steps:
1313
- name: Check out code
@@ -18,21 +18,19 @@ jobs:
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020

21-
- name: Install Python dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
pip install -e .[dev]
25-
2621
- name: Set up Node.js
2722
uses: actions/setup-node@v4
2823
with:
29-
node-version: '20' # Specify a Node.js version
24+
node-version: '22' # Specify a Node.js version
25+
26+
- name: Install pnpm
27+
run: npm install -g pnpm
3028

31-
- name: Install root Node.js dependencies
32-
run: npm install
29+
- name: Install dependencies
30+
run: pnpm install
3331

34-
- name: Install worker Node.js dependencies
35-
run: cd templates/durable-objects && npm install
32+
- name: Setup tests
33+
run: pnpm run setup-test
3634

3735
- name: Run tests
38-
run: pytest tests/
36+
run: pnpm run test

0 commit comments

Comments
 (0)