Skip to content

Update CI with more os and jdk version. #568

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

counter2015
Copy link
Contributor

@counter2015 counter2015 commented Mar 21, 2025

This pull request updates the CI workflow configuration to enhance compatibility and improve the testing process across multiple operating systems and JDK versions. The key changes include expanding the matrix of environments, updating actions, and adding configuration steps for better platform support.

This PR is inspired by Cats-Effects CI file.

Updates to CI workflow configuration:

  • Expanded the matrix to include multiple JDK versions (temurin@8, temurin@21) and operating systems (ubuntu-latest, windows-latest, macos-14).
  • Updated the runs-on field to use the matrix operating system and set a timeout of 60 minutes.
  • Added a step to ignore line ending differences in git for Windows runners.
  • Replaced the checkout action with actions/checkout@v4 and adjusted the fetch depth to 0 for full branch checkout.
  • Updated the setup for Scala and sbt, replacing olafurpg/setup-scala@v13 with sbt/setup-sbt@v1.

Enhancements to testing steps:

  • Added shell: bash to the test execution step to ensure compatibility with bash scripting.

remove tor set up from ci.

use bash when run tests.
jdk: [adopt@1.8]
scala: ['2.13', '3']
jdk:
- temurin@8
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure which release should we use to test. And do we need to add all LTS version JDK here? It may cause too much tests.

Comment on lines +14 to +17
- ubuntu-latest
- windows-latest
- macos-14
scala:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like above, should we use specify version of OS to test, and other releases ?

Comment on lines -28 to -29
- name: Setup Tor
uses: tor-actions/setup-tor@v1.0.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether tor is used in CI.

@counter2015
Copy link
Contributor Author

@ruippeixotog could you have time to take a look at it ? What do you think about it ?

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.

1 participant