Skip to content

Commit

Permalink
upgrade template to 5.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
msaipraneeth committed Oct 23, 2023
1 parent e98beb0 commit bf8a22a
Show file tree
Hide file tree
Showing 11 changed files with 593 additions and 624 deletions.
5 changes: 3 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changes here will be overwritten by Copier
_commit: v4.1.0
_commit: v5.3.3
_src_path: gh:eccenca/cmem-plugin-template
author_mail: cmempy-developer@eccenca.com
author_name: eccenca GmbH
github_page: https://github.com/eccenca/cmem-plugin-pyshacl
project_description: Validate your Knowledge Graphs based on tests generated from
SHACL shapes.
project_slug: pyshacl
pypi: https://pypi.org/project/cmem-plugin-pyshacl
pypi: true

18 changes: 9 additions & 9 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ on:

jobs:
check:

runs-on: ubuntu-latest
concurrency: testing_environment

steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Task
uses: arduino/setup-task@v1
Expand All @@ -26,7 +29,7 @@ jobs:
id: setup-python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.11'

- name: Install and configure poetry
uses: snok/install-poetry@v1
Expand All @@ -35,12 +38,9 @@ jobs:
virtualenvs-in-project: true
installer-parallel: true

- name: Load cached venv if cache exists
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dynamic versioning plugin
run: |
poetry self add "poetry-dynamic-versioning[plugin]"
- name: bandit
run: |
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
task check:safety
- name: Publish Test Report in Action
uses: mikepenz/action-junit-report@v3
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
report_paths: dist/junit-*.xml
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Task
uses: arduino/setup-task@v1

- name: Set up python
id: setup-python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: '3.11'

- name: Install and configure poetry
uses: snok/install-poetry@v1
Expand All @@ -39,13 +39,6 @@ jobs:
run: |
poetry self add "poetry-dynamic-versioning[plugin]"
- name: Load cached venv if cache exists
id: cached-poetry-dependencies
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Publish Package
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
default:
image: docker-registry.eccenca.com/eccenca-python:v3.9.16
image: docker-registry.eccenca.com/eccenca-python:v3.11.4
# all jobs can be interrupted in case a new commit is pushed
interruptible: true
before_script:
Expand Down Expand Up @@ -70,6 +70,8 @@ pytest:
coverage_report:
coverage_format: cobertura
path: dist/coverage.xml
junit:
- dist/junit-pytest.xml
paths:
- dist/badge-coverage.svg
- dist/badge-tests.svg
Expand Down
8 changes: 4 additions & 4 deletions .idea/cmem-plugin-pyshacl.iml

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

1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [4.2.0]


### Added

- Compatibility with cmem-plugin-base v4
Expand All @@ -21,6 +20,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- migrate to open source on GitHub
- changed internal parameter names
- `SH.ValidationResult` labels now contain full result paths
- upgrade template to 5.3.3

## [4.1.2] 2023-05-03

Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# cmem-plugin-pyshacl

This is a plugin for [eccenca](https://eccenca.com) [Corporate Memory](https://documentation.eccenca.com) plugin performing [SHACL](https://www.w3.org/TR/shacl/) validation with [pySHACL](https://github.com/RDFLib/pySHACL).
Validate your Knowledge Graphs based on tests generated from SHACL shapes.

## Installation

```
cmemc admin workspace python install cmem-plugin-pyshacl
```

[![workflow](https://github.com/eccenca/cmem-plugin-pyshacl/actions/workflows/check.yml/badge.svg)](https://github.com/eccenca/cmem-plugin-pyshacl/actions) [![PyPI](https://img.shields.io/pypi/v/cmem-plugin-pyshacl)](https://pypi.org/project/cmem-plugin-pyshacl/)
[![eccenca Corporate Memory](https://img.shields.io/badge/eccenca-Corporate%20Memory-orange)](https://documentation.eccenca.com) [![workflow](https://github.com/eccenca/cmem-plugin-pyshacl/actions/workflows/check.yml/badge.svg)](https://github.com/eccenca/cmem-plugin-pyshacl/actions) [![pypi version](https://img.shields.io/pypi/v/cmem-plugin-pyshacl)](https://pypi.org/project/pyshacl) [![license](https://img.shields.io/pypi/l/cmem-plugin-pyshacl)](https://pypi.org/project/cmem-plugin-pyshacl)

## Development

Expand Down
Loading

0 comments on commit bf8a22a

Please sign in to comment.