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

dockstore / dockstore / 10080
68%

Build:
DEFAULT BRANCH: develop
Ran 14 Oct 2019 08:30PM UTC
Jobs 4
Files 630
Run time 21min
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
10080

push

travis-ci

web-flow
Fix WDL import issues (#2941)


#2941 

There were two problems:

In WDLHandler.processImports, there is map of files that have been processed so that we don't process the same file more than once. The map key was just the filename, so if the same filename exists in more than one directory, the code would only process the first instance of the filename.

Once getting past that, there were issues resolving imports, particularly if a WDL file imported from a sub-directory relatively imported more WDL from the same sub-directory.

For the first issue, the key of the map is now the absolute path, so all files will get processed. The CWL code still works/expects a map with just the filename, so I changed the LanguageHandlerInterface.getContentto take a Set<SourceFile> instead of the Map<String, String>; that way each language implementation can internally construct their own Map for their needs.

For the second issue, MapResolver now has a string to resolve imports relative to.

Other notes

*  I committed the files from the workflow directly to the repo. It's a big one, but it might be good for other tests, and it simplifies the testing.
*  One test started to fail with these changes, DAGWorkflowTestIT.testComplexImportWdlWorkflow. However, running WOMTool validate standalone against the workflow also fails, so I think this is the correct behavior, and I updated the test to expect a failure.
* There is a circular dependency with the CLI. Some tests are using the CLI which uses WDLBridge, which is in this project. Had to leave some old method signatures in there for the tests to run.
* Needed to make SoruceCodeRepoInterface.getCommitId protected in
order to have an implementation in the tests.
* Also removed BridgeHelper.java, which isn't being used
anywhere.
* Removal of BridgeHelper means commons-validator
no longer needed
* Builds often failing on WDLHandlerTest or
NFLParseTest; separate them out into their
block of tests.
* U... (continued)

12499 of 32792 relevant lines covered (38.12%)

1.7 hits per line

Jobs
ID Job ID Ran Files Coverage
2 10080.2 (TESTING_PROFILE=unit-tests) 14 Oct 2019 08:30PM UTC 0
15.16
Travis Job 10080.2
3 10080.3 (TESTING_PROFILE=integration-tests) 14 Oct 2019 08:51PM UTC 0
59.16
Travis Job 10080.3
4 10080.4 (TESTING_PROFILE=tool-integration-tests) 14 Oct 2019 08:41PM UTC 0
31.91
Travis Job 10080.4
5 10080.5 (TESTING_PROFILE=workflow-integration-tests) 14 Oct 2019 08:49PM UTC 0
46.16
Travis Job 10080.5
Source Files on build 10080
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10080
  • e8501ecd on github
  • Prev Build on develop (#10065)
  • Next Build on develop (#10091)
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

© 2026 Coveralls, Inc