Page MenuHomeSoftware Heritage

swh-loader-dir: Add tox.ini and migrate to pytest
ClosedPublic

Authored by ardumont on Oct 23 2018, 1:29 PM.

Details

Summary

Also fix warnings

Depends D566
Related T1247
Related T1261

Test Plan

tox
fails for now as it needs swh-loader-core bump (after D566 merge)

Diff Detail

Repository
rDLDDIR Directory Loader
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1761
Build 2123: tox-on-jenkinsJenkins
Build 2122: arc lint + arc unit

Event Timeline

Build failing with the same setup issue as D566 (loader-core), due to setup issue in swh-jenkins-jobs.

Digging the logs:

stderr: fatal: repository 'https://forge.softwareheritage.org/source/loader-dir.git/' not found

Should be swh-loader-dir.git.
Fix: change the display-name from loader-dir to swh-loader-dir in swh-jenkins-jobs/swh/loader-dir.yml
(it's there now \m/ [1])

[1] R155:c5cd557e7a1b68667780452e7d7cb3742880b641

same as others: tests depends on swh-loader-core > 0.0.34

This revision is now accepted and ready to land.Oct 23 2018, 2:48 PM
This revision was automatically updated to reflect the committed changes.