Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split backend tests into different workflows #269

Merged
merged 12 commits into from
May 23, 2024
Merged

Split backend tests into different workflows #269

merged 12 commits into from
May 23, 2024

Conversation

gdalle
Copy link
Member

@gdalle gdalle commented May 22, 2024

DI tests

  • Make tests depend on an environment variable ENV["JULIA_DI_TEST_GROUP"] with the following options:
    • "All" (only useful locally)
    • "Formalities" => Aqua, JET, JuliaFormatter
    • "Internals" => various checks that don't require AD backends
    • "Single/Backend1" or "Double/Backend1-Backend2" => install the required packages and include the appropriate tests

CI

  • Set the variable ENV["JULIA_DI_TEST_GROUP"] with a workflow matrix before the tests
  • Exclude 1.6-incompatible backends from the matrix

@codecov-commenter
Copy link

codecov-commenter commented May 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.03%. Comparing base (3634522) to head (3357728).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #269   +/-   ##
=======================================
  Coverage   96.03%   96.03%           
=======================================
  Files          75       75           
  Lines        3908     3908           
=======================================
  Hits         3753     3753           
  Misses        155      155           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gdalle gdalle marked this pull request as ready for review May 23, 2024 07:35
@gdalle gdalle merged commit cebfca6 into main May 23, 2024
29 checks passed
@gdalle gdalle deleted the gd/test_groups branch May 23, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants