Skip to content

Commit

Permalink
tests on virtuoso
Browse files Browse the repository at this point in the history
  • Loading branch information
arcangelo7 committed Oct 20, 2024
1 parent 041cc8c commit 4b4ec8a
Show file tree
Hide file tree
Showing 215 changed files with 13,302 additions and 148 deletions.
Binary file added .coverage
Binary file not shown.
14 changes: 8 additions & 6 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2023 Arcangelo Massari <[email protected]>
# Copyright 2024 Arcangelo Massari <[email protected]>
#
# Permission to use, copy, modify, and/or distribute this software for any purpose
# with or without fee is hereby granted, provided that the above copyright notice
Expand All @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3.0.2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -39,11 +39,13 @@ jobs:
pip3 install poetry
sudo apt install -y python-is-python3
poetry install
- name: Run Blazegraph
sudo apt install -y libncurses5
- name: Run Virtuoso
run: |
wget https://github.com/blazegraph/database/releases/download/BLAZEGRAPH_2_1_6_RC/blazegraph.jar
java -server -jar blazegraph.jar &
python3 -c 'import time; time.sleep(10)'
cd virtuoso-opensource/bin
./virtuoso-t
python3 -c 'import time; time.sleep(15)'
cd ../..
- name: Check the overage
run: |
poetry run coverage run --rcfile=test/coverage/.coveragerc
Expand Down
45 changes: 21 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ readme = "README.md"
packages = [{include = "rdflib_ocdm"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0.0"
python = ">=3.8,<3.14"
rdflib = "^6.2.0"
oc-ocdm = "^9.0.0,<10.0.0"
oc-ocdm = "^9.1.1"
sparqlwrapper = "^2.0.0"
redis = "^4.5.5"
time-agnostic-library = "^4.4.1"
time-agnostic-library = "^4.6.5"


[tool.poetry.group.dev.dependencies]
Expand Down
Loading

0 comments on commit 4b4ec8a

Please sign in to comment.