This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Run separate CI task for all tests with external (apt-get
) dependencies
#1336
Labels
Infrastructure
CI, etc.
Issue
Travis is slow and getting slower now that both
solc
andvyper
have to get installed.Steps to Reproduce
Expected Behavior
The two main CI jobs (Packages & Integrations) should not run any tests that rely on any packages installed by
apt-get
.A separate job should run for specifically these tests. (unknown requirement: should this job be marked as "allowed failure"?)
Background
There are at least two places where CI environment changes how or which tests are run:
The external compile tests use the
jq
utility, so these only run if theCI
environment variable is true.A bunch of tests are marked
[ @geth ]
(e.g.), which gets indicated to mocha by way of the "test filter" option.**This approach is annoying because it means the main CI script for running "all the tests" consumes this CLI flag (
-k
I think but I'm too lazy to look it up). So you can't use-k
locally, effectively at all, if you just want to doyarn test -k ...some filter...
in the root.For this issue, it may be worth thinking of a more explicit strategy for how CI manages collections of tests. Or not. Alternate strategy: hack it in and get tests faster by any means necessary.
Environment
Travis-CI
The text was updated successfully, but these errors were encountered: