-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (29 loc) · 721 Bytes
/
test.yml
File metadata and controls
37 lines (29 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Test Deploy CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
vendoring:
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # , windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install project dependencies
run: uv sync
- name: Lint and format
run: |
uv run ruff format . --check
uv run ruff check .
- name: Test worker deployment
run: uv run pywrangler deploy --dry-run
- name: Run tests
run: uv run pytest tests