Skip to content

Commit 35b655c

Browse files
committed
added testing workflow
1 parent f7b65d1 commit 35b655c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Python package
2+
3+
on: [push,pull_request]
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
python-version: ["3.10.13"]
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install -e .
21+
- name: Test with pytest
22+
run: |
23+
wget https://files.dice-research.org/projects/Ontolearn/KGs.zip
24+
unzip KGs.zip
25+
pip install pytest
26+
python -m pytest -p no:warnings -x

0 commit comments

Comments
 (0)