Skip to content

Commit 1b5959c

Browse files
committed
reintroducing CI
1 parent 2b610e4 commit 1b5959c

File tree

3 files changed

+46
-5
lines changed

3 files changed

+46
-5
lines changed

.github/workflows/ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: ci
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
workflow_dispatch:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
env:
13+
EVENT: ${{ github.event.number }}
14+
15+
strategy:
16+
matrix:
17+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
18+
fail-fast: false
19+
20+
steps:
21+
- name: checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: set up python
25+
uses: actions/setup-python@v4
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
29+
- name: install poetry
30+
run: |
31+
curl -sSL https://install.python-poetry.org | python3 -
32+
echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV
33+
34+
- name: install dependencies with poetry
35+
run: |
36+
cd kglab
37+
poetry install --with dev
38+
39+
- name: set env to include the source directory
40+
run: echo "PYTHONPATH=$PWD/kglab" >> $GITHUB_ENV
41+
42+
- name: run tests
43+
run: |
44+
cd kglab
45+
poetry run pytest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Welcome to *Graph Data Science*:
1414
<https://derwen.ai/docs/kgl/>
1515

16-
The **kglab** library provides a simple abstraction layer in Python 3.7+
16+
The **kglab** library provides a simple abstraction layer in Python 3.11+
1717
for building knowledge graphs, leveraging Pandas, NetworkX, RAPIDS, RDFLib,
1818
Morph-KGC, and many more.
1919

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ keywords = [
3737
classifiers = [
3838
"Programming Language :: Python",
3939
"Programming Language :: Python :: 3 :: Only",
40-
"Programming Language :: Python :: 3.7",
41-
"Programming Language :: Python :: 3.8",
42-
"Programming Language :: Python :: 3.9",
43-
"Programming Language :: Python :: 3.10",
4440
"Programming Language :: Python :: 3.11",
4541
"Operating System :: OS Independent",
4642
"License :: OSI Approved :: MIT License",

0 commit comments

Comments
 (0)