mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2025-07-21 13:33:01 +02:00
Compare commits
1 Commits
8f3db86a36
...
python-3.1
Author | SHA1 | Date | |
---|---|---|---|
0d719cf42a
|
30
.drone.yml
30
.drone.yml
@ -1,3 +1,33 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: python311
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: python:3.11-slim
|
||||||
|
commands:
|
||||||
|
- id
|
||||||
|
- python -V
|
||||||
|
- apt update && apt install -y gcc g++ libicu-dev pkg-config
|
||||||
|
- pip install -r requirements-dev.txt
|
||||||
|
- pytest
|
||||||
|
- python setup.py install
|
||||||
|
# Basic test
|
||||||
|
- csv-metadata-quality -i data/test.csv -o /tmp/test.csv
|
||||||
|
# Basic test with unsafe fixes
|
||||||
|
- csv-metadata-quality -i data/test.csv -o /tmp/test.csv -u
|
||||||
|
# Geography test
|
||||||
|
- csv-metadata-quality -i data/test-geography.csv -o /tmp/test.csv
|
||||||
|
# Geography test with unsafe fixes
|
||||||
|
- csv-metadata-quality -i data/test-geography.csv -o /tmp/test.csv -u
|
||||||
|
# Test with experimental checks
|
||||||
|
- csv-metadata-quality -i data/test.csv -o /tmp/test.csv -e
|
||||||
|
# Test with AGROVOC validation
|
||||||
|
- csv-metadata-quality -i data/test.csv -o /tmp/test.csv --agrovoc-fields dcterms.subject
|
||||||
|
# Test with AGROVOC validation (and dropping invalid)
|
||||||
|
- csv-metadata-quality -i data/test.csv -o /tmp/test.csv --agrovoc-fields dcterms.subject -d
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [0.6.0] - 2022-09-02
|
## [0.6.0] = 2022-09-02
|
||||||
### Changed
|
### Changed
|
||||||
- Perform fix for "unnecessary" Unicode characters after we try to fix encoding
|
- Perform fix for "unnecessary" Unicode characters after we try to fix encoding
|
||||||
issues with ftfy
|
issues with ftfy
|
||||||
|
Reference in New Issue
Block a user