frictionlessdata / frictionless-ci

Data management service that brings continuous data validation to tabular data in your repository via Github Action
https://repository.frictionlessdata.io
MIT License
37 stars 12 forks source link

Validation report is not being generated (`Cannot load a report`) #17

Closed Andrelamor closed 3 years ago

Andrelamor commented 3 years ago

Overview

Validation report is not being generated (message: Cannot load a report) because of two errors shown in the 'report' artifact:

The task has an error: 'in <string>' requires string as left operand, not NoneType
The task has an error: 'fieldPosition'

The repo is using git LFS, and the yaml file is pointing to frictionlessdata/repository@v1 :

Nevertheless, internal validation is showing results as expected. And in another repository of reproductible examples, also using git LFS, the report could be loaded:


Please preserve this line to notify @roll (lead of this repository)

roll commented 3 years ago

Hi @Andrelamor,

I think in both cases the validation is clearly wrong because the LFS files are not resolved.

You need to add LFS support to the checkout step:

      - name: Checkout repository
        uses: actions/checkout@v2
        with:
          lfs: true # add this to download LFS files

Please let me know if it helped