>>>>> Steinar Bang <[email protected]>:

> This integration test works locally but fails on github actions:
>  https://github.com/steinarb/sampleapp/tree/master/sampleapp.tests

> The error message is:
>  https://gist.github.com/steinarb/98cc1dda6e53472504dce9f49eebe03c

> Anyone have an idea why this is?

I figured it out.

The github actions file I added used "mvn package".

When I tried locally with
 rm -rf ~/.m2/repository/no/priv/bang/sampleapp/
 mvn package

it failed with the same error message as the github actions build. 

But this built fine, includign the pax exam test:
 rm -rf ~/.m2/repository/no/priv/bang/sampleapp/
 mvn install

So I changed the git hub actions workflow file to use "mvn install"
 
https://github.com/steinarb/sampleapp/commit/b6ea4d2edf25d4a1213068900529422b8d10406a

and then the github actions build went green
 https://github.com/steinarb/sampleapp/actions/runs/3099564326

So... next out will be to get coveralls and sonarcloud working again,
and I can put back the badges that haven't updated since travis-ci.org
went away (I could never get the free tier travis-ci.com stuff to work):
 https://en.wikipedia.org/wiki/Travis_CI#Company

Reply via email to