Fix in SPARQL post request to virtuoso (it's made differently when au… #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
# Make workflow callable. | |
workflow_call: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v3 | |
- name: Use Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install test dependencies | |
run: pip install -r requirements-test.txt | |
- name: Install project dependencies | |
run: pip install -r requirements.txt | |
- name: Install project | |
run: pip install . | |
- name: Run tests | |
run: pytest --cov=linkeddata_api tests/ |