Update CHANGELOG.md #97
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: | |
# NOTE: if you need to debug these things locally, use `act` and medium installation: | |
# E.g: | |
# `act push` or `act push --container-architecture linux/amd64` (Mac M1) | |
# | |
# Installation notes at https://github.com/nektos/act | |
# | |
# I did early tests to simulate releases but so far didn't manage to extract the GITHUB_REF | |
# https://github.com/nektos/act/discussions/2154 | |
# | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Installation Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- 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 statique et des fichiers d'exemples associés | |
run: | | |
frictionless validate --type schema statique/schema-statique.json | |
frictionless validate datapackage.json | |
- name: Vérification du schéma dynamique et des fichiers d'exemples associés | |
run: | | |
frictionless validate --type schema dynamique/schema-dynamique.json |