Skip to content

Make fields optional and specify descriptions #10

Make fields optional and specify descriptions

Make fields optional and specify descriptions #10

name: Vérification du respect des spécifications
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- 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