As part of Exercism we have to show our language track can build and run tests - and they use Travis - so, pretty awesome we have that tooling.
So it was pretty straightforward t hook in - and there are enough examples around to support the docs for the .yml and .ston file - however I hit an issue with the inclusion and exclusion of test files. I put an issue on SmalltalkCI - but its sat there for 8days (https://github.com/hpi-swa/smalltalkCI/issues/417) so I’m wondering if anyone has experience with this?
Essentially if I include my other packages ‘ExercismDev’ and ‘ExercismTools’ (see sample below - I’ve removed them from the include list) then some of my tests run twice (I believe because the exclude of #AllExercismTests doesn’t work). I also have some environmental tests that need improving to run more generically (Submit/Download) and again those don’t seem to be excluded.
It’s like “exclude" simply doesn’t work - but I would think this would be reported more widely if this was the case. So maybe I don’t understand the overlap of include/exclude etc. Anyone have any thoughts?
FYI: Just bumping this - but on investigation it looks like the Pharo support for Tags breaks in Smalltalk CI - so top level packages with similar names (e.g. Exercism and ExercismWIP) all seem to get included by the include directive of ‘Exercism’ (with no wildcard).
This is in an issue: https://github.com/hpi-swa/smalltalkCI/issues/417
It does mean that many of you might be running more tests than you need to, and it might explain strange build failures if you are trying to use exclude.
At some point I will have a go at fixing this, if someone doesn’t beat me to it.
I got something like what you describe that working for pillar and OSSubprocess, but putting different tests in different packages, not tags.
On Tue, Mar 12, 2019 at 6:00 PM Tim Mackinnon <[hidden email]> wrote:
|Free forum by Nabble||Edit this page|