QEDjl-project / QuantumElectrodynamics.jl

[WIP] QuantumElectrodynamics.jl: A strong-field particle physics framework
https://qedjl-project.github.io/QuantumElectrodynamics.jl/
MIT License
10 stars 3 forks source link

[Proposal] Unit and integration tests using GitHub actions #94

Open szabo137 opened 1 week ago

szabo137 commented 1 week ago

Problem statement

Our unit and integration tests run automatically using GitLab-CI on self-hosted runners on Gitlab.com via pull/push mirror or a dedicated bot. With this issue, we want to evaluate this setup and propose future updates.

Pros

Cons

Proposed solution

We run the unit and integration tests for every PR using GitHub actions and use GitLab-CI only for GPU tests (which by themselves have unit and integration tests). This would most probably decrease the time for the first test report and allow the native usage of Codecov and CoverageAll (both have native support for GitHub actions and GitHub itself).

Since the services in mind only use the unit tests, it is also conceivable to just move the unit tests to GitHub actions and leave the integration tests in the GitLab-CI pipeline.