Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python setup.py install
pip install . install
pip install -r requirements-test.txt
- name: Run tests
run: pytest
Expand All @@ -46,7 +46,7 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python setup.py install
pip install . install
pip install -r requirements-test.txt
- name: Run tests
run: pytest
Expand All @@ -72,7 +72,7 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python setup.py install
pip install .
pip install -r requirements-test.txt
- name: Run tests
run: pytest
Expand All @@ -98,7 +98,7 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python setup.py install
pip install .
pip install -r requirements-test.txt
- name: Run tests
run: pytest
Expand All @@ -114,7 +114,7 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python setup.py install
pip install .
pip install -r requirements-test.txt
pip install pytest coveralls
- name: Create coverage
Expand All @@ -134,7 +134,7 @@ jobs:
python-version: "3.10"
- name: Install dependencies
run: |
python setup.py install
pip install .
pip install -r requirements-test.txt
pip install pytest pytest-cov
- name: Create coverage
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
with open('README.md') as f:
description_text = f.read()

install_req = ["docopt", "lxml", "pathlib", "pyyaml>=5.1", "rdflib>=6.0.0"]
install_req = ["docopt", "lxml", "pyyaml>=5.1", "rdflib>=6.0.0"]
# owlrl depends on rdflib; update any changes in requirements-test.txt as well.
tests_req = ["owlrl", "pytest", "requests"]

# Keep support for for Python versions below 3.7; relevant for the
# rdflib usage; rdflib >= 6 does not support Python versions below 3.7.
if _python_version.minor <= 6:
# pyparsing needs to be pinned to 2.4.7 due to issues with the rdflib 5.0.0 library.
install_req = ["docopt", "lxml", "pathlib", "pyyaml>=5.1", "rdflib==5.0.0", "pyparsing==2.4.7"]
install_req = ["docopt", "lxml", "pyyaml>=5.1", "rdflib==5.0.0", "pyparsing==2.4.7"]

# owlrl depends on rdflib and needs to be pinned to a corresponding version.
tests_req = ["owlrl==5.2.3", "pytest", "requests"]
Expand Down