Merge branch 'master' into evolutions_v0.3.0 #54
Workflow file for this run
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: Vérification du respect des spécifications | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Installation Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.7' | |
- name: Cache pip | |
uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
${{ runner.os }}- | |
- name: Installation des dépendances | |
run: pip install -r requirements.txt | |
- name: Vérification du schéma et des fichiers d'exemples | |
run: | | |
frictionless validate --type schema schema.json | |
frictionless validate --schema schema.json exemple-valide.csv |