Skip to content

Commit 7373d10

Browse files
authored
Nit: update CI (#145)
* test python 3.14 in basic tests * small housekeeping * small rephrase * install python with uv in type-check workflow
1 parent 4abd22b commit 7373d10

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
python-version: '3.13'
2525

2626
# ADJUST THIS: install all dependencies (including pdoc)
27-
- run: pip install -e .
28-
- run: pip install pdoc
27+
- run: uv pip install -e .
28+
- run: uv pip install pdoc
2929
# ADJUST THIS: build your documentation into docs/.
3030
# We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
3131
- run: pdoc fsrs --logo "https://raw.githubusercontent.com/open-spaced-repetition/py-fsrs/main/osr_logo.png" --favicon "https://raw.githubusercontent.com/open-spaced-repetition/py-fsrs/main/osr_logo.png" -o docs/

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14.0-rc.2"]
11+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1212

1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Install uv Set up Python
16+
- name: Set up Python with uv
1717
uses: astral-sh/setup-uv@v5
1818
with:
1919
enable-cache: true
@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v4
4242

43-
- name: Install uv Set up Python
43+
- name: Set up Python with uv
4444
uses: astral-sh/setup-uv@v5
4545
with:
4646
enable-cache: true

.github/workflows/type-check.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
- uses: actions/setup-python@v5
10+
11+
- name: Set up Python with uv
12+
uses: astral-sh/setup-uv@v5
1113
with:
12-
python-version: '3.13'
14+
enable-cache: true
15+
python-version: '3.14'
1316

1417
- name: Install dependencies
15-
run: pip install ".[optimizer,dev]"
18+
run: uv pip install ty
1619

1720
- name: Run ty
1821
run: ty check

0 commit comments

Comments
 (0)