Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
run: cargo fmt --all -- --check

- name: Check for idiomatic code
run: cargo clippy --all-features --all-targets --all -- -D warnings
run: cargo clippy --features d1,queue --all-targets --workspace -- -D warnings

- name: Check for idiomatic code (http)
run: cargo clippy --all-features --package worker-sandbox --all-targets -- -D warnings
test:
name: Test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,12 +73,10 @@ jobs:
shell: bash
run: npm ci

- name: Build worker
shell: bash
working-directory: ./worker-sandbox
run: NO_MINIFY=1 worker-build --dev

- name: Run tests
shell: bash
working-directory: ./worker-sandbox
run: NODE_OPTIONS=--experimental-vm-modules npx vitest run
run: npm run test

- name: Run tests (http)
shell: bash
run: npm run test-http
Loading