Skip to content

Commit cb60c1b

Browse files
committed
add github action for testing
1 parent 5fe9589 commit cb60c1b

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/ci.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
defaults:
11+
run:
12+
shell: bash -l {0}
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
windows-tests:
20+
runs-on: windows-latest
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
python-version: ["3.8", "3.9", "3.10", "3.11"]
25+
steps:
26+
- name: Clone repo
27+
uses: actions/checkout@v3
28+
29+
- name: Set up environment
30+
uses: actions/setup-python@v4
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
cache: "pip"
34+
35+
- name: Install the library
36+
run: pip install ".[dev]"
37+
38+
- name: Run tests
39+
run: nbdev_test --do_print --timing --flags 'matplotlib polars pyarrow scipy'

0 commit comments

Comments
 (0)