Skip to content

Commit d8e2153

Browse files
committed
Add import test with python version matrix
1 parent 19b6036 commit d8e2153

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build and test package
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
13+
steps:
14+
- uses: actions/checkout@v6
15+
- name: Python setup
16+
uses: actions/setup-python@v6
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install package
20+
run: pip install .
21+
- name: Run a test import
22+
run: python -c "import rwguide.zonalization"
23+

0 commit comments

Comments
 (0)