Frictionless Repository will be validating your CSV and EXCEL files on every push, tag, or PR (or based on your configuration). After a commit and a workflow run you will see a link to a validation report within the workflow log or an error message.
There are two options of installing Fricitonless Repository, as a new workflow or adding a Frictionless Repository step to an existent workflow.
Add a file shown below in your Github Repository:
name: frictionless on: push: branches: - main pull_request: branches: - main jobs: validate: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/[email protected] with: lfs: true # add this to download LFS files submodules: true # add this to download submodules - name: Validate data uses: frictionlessdata/[email protected]
Just add this step to an existent workflow:
- name: Validate data uses: frictionlessdata/[email protected]
After Frictionless Repository installed as a part of your Github workflows it will be validating your data on every push, tag, or PR (or based on your configuration). You will be able to see results of the validation on Github as commit statuses:
If you click on the "Details" link you will be redirected to the workflow logs when you can find a link to a validation report:
Clicking on that link will bring you to the validation report:
There a "Badge" button to reveal a badge for this workflow. You can add this badge to your README.md file or any other markdown file: