Skip to content

Commit

Permalink
Merge pull request #103 from RDFLib/drone_test
Browse files Browse the repository at this point in the history
release v0.17.2, testing drone
  • Loading branch information
ashleysommer committed Oct 25, 2021
2 parents 4815575 + deb885f commit 385c316
Show file tree
Hide file tree
Showing 11 changed files with 544 additions and 82 deletions.
135 changes: 135 additions & 0 deletions .drone.yml
@@ -0,0 +1,135 @@
---
kind: pipeline
name: python-3-7
type: docker
platform:
os: linux
arch: amd64

steps:
- name: test
image: python:3.7
environment:
TOX_WORK_DIR: /tmp/.tox
HAS_COVERALLS: true
COVERALLS_SERVICE_NAME: PySHACL-Drone
COVERALLS_REPO_TOKEN:
from_secret: coveralls_token
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e py37
- name: type-checking
image: python:3.7
environment:
TOX_WORK_DIR: /tmp/.tox
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e lint
- name: lint
image: python:3.7
environment:
TOX_WORK_DIR: /tmp/.tox
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e lint

volumes:
- name: tox_cache
temp: {}

---
kind: pipeline
name: python-3-8
type: docker
platform:
os: linux
arch: amd64

steps:
- name: test
image: python:3.8
environment:
TOX_WORK_DIR: /tmp/.tox
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e py38
- name: type-checking
image: python:3.8
environment:
TOX_WORK_DIR: /tmp/.tox
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e lint
- name: lint
image: python:3.8
environment:
TOX_WORK_DIR: /tmp/.tox
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e lint

volumes:
- name: tox_cache
temp: {}

---
kind: pipeline
name: python-3-9
type: docker
platform:
os: linux
arch: amd64

steps:
- name: test
image: python:3.9
environment:
TOX_WORK_DIR: /tmp/.tox
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e py39
- name: type-checking
image: python:3.9
environment:
TOX_WORK_DIR: /tmp/.tox
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e lint
- name: lint
image: python:3.9
environment:
TOX_WORK_DIR: /tmp/.tox
volumes:
- name: tox_cache
path: /tmp/.tox
commands:
- pip3 install --upgrade tox
- tox -e lint

volumes:
- name: tox_cache
temp: {}
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -25,11 +25,9 @@ matrix:
python: 3.9
name: "Python 3.9 Type checks"
- env: TOX_ENV=lint
python: 3.6
name: "Python 3.7 Linter checks"
- env: TOX_ENV=py37,type-checking,lint DEPLOY=true
python: 3.7
name: "Aggregate or all above, and deploy"
name: "Python 3.7 Linter checks"


install:
- pip3 install --upgrade pip "poetry>=1.1.0" tox
Expand Down
14 changes: 13 additions & 1 deletion CHANGELOG.md
Expand Up @@ -8,6 +8,17 @@ and this project adheres to [Python PEP 440 Versioning](https://www.python.org/d

- Nothing yet

## [0.17.2] - 2021-10-25

## Fixes
- SPARQL queries with words "values", "minus", or "service" in its comments no longer incorrectly throw an exception.

## Changed
- Switched from Travis to Drone for CI testing

## Added
- New Table output type for commandline tool. Thanks @nicholascar


## [0.17.1] - 2021-10-11

Expand Down Expand Up @@ -852,7 +863,8 @@ just leaves the files open. Now it is up to the command-line client to close the

- Initial version, limited functionality

[Unreleased]: https://github.com/RDFLib/pySHACL/compare/v0.17.1...HEAD
[Unreleased]: https://github.com/RDFLib/pySHACL/compare/v0.17.2...HEAD
[0.17.2]: https://github.com/RDFLib/pySHACL/compare/v0.17.1...v0.17.2
[0.17.1]: https://github.com/RDFLib/pySHACL/compare/v0.17.0.post1...v0.17.1
[0.17.0.post1]: https://github.com/RDFLib/pySHACL/compare/v0.17.0...v0.17.0.post1
[0.17.0]: https://github.com/RDFLib/pySHACL/compare/v0.16.2...v0.17.0
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Expand Up @@ -8,7 +8,7 @@ authors:
given-names: "Nicholas"
orcid: "http://orcid.org/0000-0002-8742-7730"
title: "pySHACL"
version: 0.17.1
version: 0.17.2
doi: 10.5281/zenodo.4750840
license: Apache-2.0
date-released: 2021-10-11
Expand Down
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -3,9 +3,7 @@
# pySHACL
A Python validator for SHACL.

[![Build Status](https://travis-ci.org/RDFLib/pySHACL.svg?branch=master)](https://travis-ci.org/RDFLib/pySHACL) [![Coverage Status](https://coveralls.io/repos/github/RDFLib/pySHACL/badge.svg?branch=master)](https://coveralls.io/github/RDFLib/pySHACL?branch=master) [![PyPI version](https://badge.fury.io/py/pyshacl.svg)](https://badge.fury.io/py/pyshacl) [![Code Style Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)


[![Build Status](https://drone.rdflib.ashs.dev/api/badges/RDFLib/pySHACL/status.svg)](https://drone.rdflib.ashs.dev/RDFLib/pySHACL)

[![DOI](https://zenodo.org/badge/147505799.svg)](https://zenodo.org/badge/latestdoi/147505799) [![Downloads](https://pepy.tech/badge/pyshacl)](https://pepy.tech/project/pyshacl) [![Downloads](https://pepy.tech/badge/pyshacl/month)](https://pepy.tech/project/pyshacl/month) [![Downloads](https://pepy.tech/badge/pyshacl/week)](https://pepy.tech/project/pyshacl/week)

Expand Down

0 comments on commit 385c316

Please sign in to comment.