Closed mkschulze closed 2 years ago
Hi Mark!
You should absolutely be able to check the bool return value from runspec. What I do is something like
using Behavior
using Test
using MyPackage
@test runspec(pkdir(MyPackage))
but you don't have to use the Test package for just that assertion. You could also just use an if statement and throw an exception if that's easier.
Awesome! thanks again :)
Hi Erik,
we now managed to let Behavior.jl run in the same GitHub Action workflow, in which we also run the TypeDB Server. You can check out the workflow file here: https://github.com/Humans-of-Julia/TypeDBClient.jl/actions/runs/1203362242/workflow
Now we are looking if the runspec function gives back a value as bool that we can use to throw an error and actually make the CI break after running through.
You can check out the Job run here: https://github.com/Humans-of-Julia/TypeDBClient.jl/runs/3518280931?check_suite_focus=true
Currently the CI passes regardless of the BDD result:![Bildschirmfoto 2021-09-05 um 17 35 08](https://user-images.githubusercontent.com/3390820/132132482-7058ac57-040e-4c30-99ae-6a2aba2083e2.png)
So, this is just to tell the current state.
The reason why they all fail currently is clear on our side, and Frank has a solution already.
cheers & thanks for all your work to make this possible! Mark