Skip to content

Commit

Permalink
create actions to check validity on push
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierlou authored Nov 30, 2023
1 parent 7a41aaf commit 91a9331
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/check_validity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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 datapackage.json

0 comments on commit 91a9331

Please sign in to comment.