Skip to content

Commit 259bfc0

Browse files
authored
Add a GitHub Action to run pytest
1 parent 2761bae commit 259bfc0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- "dependabot/**"
7+
pull_request:
8+
9+
jobs:
10+
pytest:
11+
timeout-minutes: 10
12+
runs-on: 'ubuntu-latest'
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy-3.11']
17+
steps:
18+
- uses: actions/checkout@v5
19+
- uses: actions/setup-python@v6
20+
with:
21+
python-version: '${{ matrix.python }}'
22+
allow-prereleases: true
23+
- run: pip install --upgrrade pip
24+
- run: pip install pytest --editable .
25+
- run: pytest

0 commit comments

Comments
 (0)