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

Refactor test execution #1756

Merged
merged 4 commits into from
May 16, 2023
Merged

Refactor test execution #1756

merged 4 commits into from
May 16, 2023

Commits on May 16, 2023

  1. unify way to deep clone

    bjaglin committed May 16, 2023
    Configuration menu
    Copy the full SHA
    f97118d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34bf3d0 View commit details
    Browse the repository at this point in the history
  3. spin off integration & expect test (based on testkit) from unit

    - integration: seggregate slow, I/O tests (`shared` folded into it)
    - expect: stop building & running target-independant suites twice
    - BaseCliSuite no longer relies on teskit (except for basic diff
      features), to focus on actual CLI interactions rather than
      input/output checks handled in `expect`
    bjaglin committed May 16, 2023
    Configuration menu
    Copy the full SHA
    043831e View commit details
    Browse the repository at this point in the history
  4. rework strategy for running tests

    - make all expect tests explicit with sbt-projectmatrix
    - keep only the 3 latest patch versions as targets (instead of 7)
    - run tests for all scala versions on windows
    - move away from one command per scala version
    - run docs checks in a separate CI job
    - speed up test execution by removing forking and limiting sequential
      run to `integration` suites
    - speed up windows test execution by avoiding compiling upfront scala 3
      projects as part of publishLocalTransitive (`publishLocal / skip`) and
      by expressing the dependency to `publishLocalTransitive` only where
      needed by hooking into the task graph (`testWindows`) instead of using
      a sequential command
    bjaglin committed May 16, 2023
    Configuration menu
    Copy the full SHA
    86a0a9b View commit details
    Browse the repository at this point in the history