nitlang / nit

Nit language
http://nitlanguage.org
Apache License 2.0
238 stars 64 forks source link

New test CI attempting to use Github Actions #2837

Closed privat closed 2 months ago

privat commented 2 months ago

The script we used and that linked github repo and gitlab CI is broken, thanks to changes in both web api. As maintaining this script is cumbersome, another option is to use Gitub Action that might be now more mature and usable in production.

This PR thus introduces a complete CI workflow with basic tests and a full matrix check. All tests should run and be green, including weird ones that require neo4j, mongodb or various third parties libraries.

The main changes are:

privat commented 2 months ago

All green after 5h of CPU time :tada:

privat commented 2 months ago

Ok, I played more with the CI to solve the forked repo issue. Basically, it needs two components :

This also have the advantage of having a single big report instead of a small one per job.

The main drawback (for now) is that while the PR provide both workflow, only the PR one is run as the master one is not installed (yet). It will be once (if) the PR is merged. However, I did install it in my fork, so we can see some results here: https://github.com/privat/mynit/pull/5