Closed thekugelmeister closed 2 years ago
In the errors from the failed tests, it looks like the database is not being populated at all:
AssertionError: b'' != b'd9f626468e4221a30318639f19dc2cd8a3f00fa6e12a5280c1b58204\n'
Possible causes:
tempfile
library does not work as expected on Travis CI build machinesIt appears that the problem here is actually in the subprocess call to sqlite3
! Not sure why, not sure how to debug it, and not sure what to do about it. Hmm...
Calling sqlite3 mod_mappings_subset.db .sha3sum
on Travis results in the following error:
Error: unknown command or invalid arguments: "sha3sum". Enter ".help" for help
Apparently, calling sqlite3
with dot commands does not work in the build environment? That makes no sense to me, unless something is different about the specific version of sqlite3
installed in that environment. This would lead to the question of why the build environment differs from the dev environment.
Closed in favor of enabling test using github actions
Builds currently fail on
test_parse_bam_bedFile
andtest_parse_bam_region
. More than likely, this indicates that the tests themselves are bugged / insufficient / problematic in some way. This PR will remain open, with test fixes pushed intermittently, until the builds pass and reasonableparse_bam
tets are implemented.