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: 12 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,19 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Run TOX
env:
# Prevents conflicts during concurrent runs. Further
# configuration takes place in the tox.ini file.
COVERAGE_FILE: .coverage.${{matrix.python-version}}
run: |
echo "Generated by build process" > tests/data/SKIP_EXTERNAL_URLS
pip install tox
tox -e py

- uses: codecov/codecov-action@v3
with:
# files: ./coverage1.xml,./coverage2.xml # optional
# flags: unittests # optional
# name: codecov-umbrella # optional
# fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ CFGraph = ">=0.2.1"
PyShExC = "==0.9.1"
sparqlslurper = ">=0.5.1"
sparqlwrapper = ">=1.8.5"
pytest = ">=7.2.1"
pytest-cov = ">=4.0.0"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

[![DOI](https://zenodo.org/badge/116042298.svg)](https://zenodo.org/badge/latestdoi/116042298)

https://mybinder.org/v2/gh/hsolbrig/pyshex/master
[![CodeCov](https://codecov.io/gh/hsolbrig/PyShEx/branch/main/graph/badge.svg)](https://codecov.io/gh/hsolbrig/PyShEx)

https://mybinder.org/v2/gh/hsolbrig/pyshex/master

This package is a reasonably literal implementation of the [Shape Expressions Language 2.0](http://shex.io/shex-semantics/). It can parse and "execute" ShExC and ShExJ source.

Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ setenv =
IN_TOX = true
SKIP_EXTERNAL_URLS = true
commands=
python -m unittest -k test_sparql_options
pytest --cov=pyshex --cov-report xml --cov=./ -m unittest -k test_sparql_options
pip install rdflib>=6.0.0 --upgrade
python -m unittest -k test_sparql_options

pytest --cov=pyshex --cov-report xml --cov=./ -m unittest -k test_sparql_options