Skip to content

Commit db0b250

Browse files
Add CI workflow to run pytest
Run the test suite on push and pull request with the pandas, polars, db, web, and bibliometrics extras so importorskip tests are not skipped. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 6c51890 commit db0b250

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
pytest:
10+
name: Test suite
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v5
17+
18+
- name: Run pytest
19+
run: >-
20+
uv run
21+
--extra dev --extra pandas --extra polars
22+
--extra db --extra web --extra bibliometrics
23+
pytest

0 commit comments

Comments
 (0)