kbase / workspace_deluxe

The Workspace Service (WSS) is primarily a language independent remote storage and retrieval system for KBase typed objects (TO) defined with the KBase Interface Description Language (KIDL).
MIT License
1 stars 17 forks source link

Fix workspace container tests #719

Closed MrCreosote closed 6 months ago

MrCreosote commented 6 months ago

Tests pass locally but consistently fail on Github Actions. Try making the tests themselves ensure that the services are available rather than checking a possibly fragile log line.

Also move them to a test directory rather than scripts.

Also also slightly modify the Dockerfile so slow steps are cached before copying in code, which busts the cache.

First commit is expected to fail to show that GHA registers said fail. Next commit will fix it

codecov[bot] commented 6 months ago

Codecov Report

Merging #719 (aadddf8) into develop (182b08e) will not change coverage. The diff coverage is n/a.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #719 +/- ## ========================================== Coverage 87.66% 87.66% Complexity 5329 5329 ========================================== Files 228 228 Lines 17648 17648 Branches 2573 2573 ========================================== Hits 15471 15471 Misses 1714 1714 Partials 463 463 ```