Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

Commit 172e9f8

Browse files
committed
Add CI tests
1 parent ad7b4e6 commit 172e9f8

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
paths-ignore:
9+
- "README.md"
10+
11+
jobs:
12+
tests:
13+
name: Run Tests
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Install Python
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: "3.11"
23+
24+
- name: Install dependencies
25+
run: |
26+
pip install -r requirements.txt -r requirements-test.txt
27+
28+
- name: Run tests
29+
run: |
30+
pytest --nbmake -vv tutorial/ examples/

requirements-test.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nbmake
2+
pytest

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
notebook
22
jupyterlab == 3.4.8
3-
git+https://github.com/ibis-project/ibis.git#egg=ibis-framework[sqlite,duckdb,clickhouse]
3+
ibis-framework[sqlite,duckdb,clickhouse]@git+https://github.com/ibis-project/ibis.git

0 commit comments

Comments
 (0)