Skip to content

provide decorator support (aka fix/issue40) #35

provide decorator support (aka fix/issue40)

provide decorator support (aka fix/issue40) #35

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Pull Request Checker
on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
PR-Checker:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
package:
- 'pyrdfstore/**'
tests:
- 'tests/**'
- name: Set up Python 3.10
uses: actions/[email protected]
with:
python-version: "3.10"
- name: Install dependencies
run: |
make init-dev
pip install -e .[tests]
- name: Linting check
id: linting_check
if: ${{steps.filter.outputs.package == 'true' }} || ${{steps.filter.outputs.tests == 'true' }}
run: |
make check
- name: Test with pytest
id: pytest_test
if: ${{steps.filter.outputs.package == 'true' }} || ${{steps.filter.outputs.tests == 'true' }}
run: |
make test-coverage-with-graphdb