• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

frictionlessdata / dpm-py / 94
95%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2017 09:33AM UTC
Jobs 4
Files 9
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
94

Pull #90

travis-ci

web-flow
[publish][m]: fix the validation for non tabular data

We use goodtable for validate tabular data. In the previous implementation
we used to pass datapackage.json as an argument to goodtables.Inspector.
The problem was that, if any non tabular data present in datapackage it was
also trying to validate that. That is what we could not publish any non tabular data.

In this commit, tried to iterate through all data and validate one by one if it is tabular
 data. We just simply skip the validation if the data is non tabular.

 We try to determine if the data is tabular or not from the descriptor format, mediatype or simply
 checking the file ends with csv or not.

 Added one fixture geojson data for test and fixed two old tests as in this implementation the
 report format has been changed.

Fixes : #89
Pull Request #90: [publish][m]: fix the validation for non tabular data

401 of 421 relevant lines covered (95.25%)

3.8 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
100.0
dpm/client/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 94.1 (TOXENV="py${PYTHON_VERSION//./}") 15 Mar 2017 09:33AM UTC 0
94.54
Travis Job 94.1
2 94.2 (TOXENV="py${PYTHON_VERSION//./}") 15 Mar 2017 09:33AM UTC 0
95.25
Travis Job 94.2
3 94.3 (TOXENV="py${PYTHON_VERSION//./}") 15 Mar 2017 09:33AM UTC 0
95.25
Travis Job 94.3
4 94.4 (TOXENV="py${PYTHON_VERSION//./}") 15 Mar 2017 09:33AM UTC 0
95.25
Travis Job 94.4
Source Files on build 94
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #94
  • Pull Request #90
  • PR Base - master (#93)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc