Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/frictionless-validate-failure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Frictionless validate failure on {{ date | date() }}
labels: bug
---
37 changes: 29 additions & 8 deletions .github/workflows/frictionless-validate.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: package

on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -9,13 +10,33 @@ on:
- main

jobs:

# Validate

validate:
all:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate data
uses: frictionlessdata/repository@v2
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
installer-parallel: true
- name: Install dependencies
run: |
poetry init -q --no-interaction
poetry add frictionless --no-interaction
- name: Run frictionless validate
run: poetry run frictionless validate datapackage.yaml
- name: Workflow failure notification
uses: JasonEtco/create-an-issue@v2
if: failure()
with:
filename: .github/frictionless-validate-failure.md