Skip to content

Commit 91ba0e0

Browse files
committed
Move to GitHub Actions
1 parent d98cfa2 commit 91ba0e0

File tree

2 files changed

+42
-13
lines changed

2 files changed

+42
-13
lines changed

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "Continuous Integration"
2+
3+
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
schedule:
9+
- cron: "0 2 * * *"
10+
11+
jobs:
12+
tests:
13+
name: python ${{ matrix.python-version }} tests, ${{ matrix.uv-resolution }} dependencies
14+
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
python-version:
19+
- "3.9"
20+
- "3.10"
21+
- "3.11"
22+
- "3.12"
23+
- "3.13"
24+
uv-resolution:
25+
- "lowest"
26+
- "highest"
27+
steps:
28+
- uses: actions/checkout@v4
29+
30+
- name: Install uv and set the python version
31+
uses: astral-sh/setup-uv@v5
32+
with:
33+
python-version: ${{ matrix.python-version }}
34+
cache-dependency-glob: "**/pyproject.toml"
35+
cache-suffix: ${{ matrix.uv-resolution }}
36+
37+
- name: Install the project
38+
run: uv sync --all-extras --dev --resolution ${{ matrix.uv-resolution }}
39+
40+
- name: Run tests
41+
run: |
42+
uv run pytest --sqlalchemy-connect-url="sqlite:///foo.sqlite"

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)