-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (35 loc) · 836 Bytes
/
ci.yaml
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
38
39
40
41
42
43
44
45
46
47
name: ci
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
server:
runs-on: ubuntu-latest
env:
APP_ENV: test
strategy:
matrix:
python-version: ["3.13"]
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install uv
uses: astral-sh/setup-uv@v2
- name: set up python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: create test venv
run: uv venv
- name: install
run: bin/install-ci
- name: lint
run: bin/check
# NOTE - we're not really doing anything with the db yet
# - name: run migrations
# run: bin/db-migrate
- name: test
run: bin/test