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

chore: add windows machine in ci #86

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

chore: add windows machine in ci #86

wants to merge 5 commits into from

Conversation

sparsick
Copy link
Owner

@sparsick sparsick commented Mar 4, 2024

No description provided.

@sparsick sparsick force-pushed the windows-support branch 2 times, most recently from 4083dfc to 40e189f Compare March 4, 2024 07:09
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.81%. Comparing base (3d03bd6) to head (3e14f9b).

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #86   +/-   ##
=========================================
  Coverage     88.81%   88.81%           
  Complexity       49       49           
=========================================
  Files             7        7           
  Lines           161      161           
  Branches          7        7           
=========================================
  Hits            143      143           
  Misses           17       17           
  Partials          1        1           

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

@sparsick sparsick marked this pull request as draft May 22, 2024 10:55
- name: 'Build'
run: |
mvn --fail-at-end --batch-mode --no-transfer-progress clean verify
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to invoke clean after a fresh checkout

distribution: 'temurin'
java-version: '17'
- uses: stCarolas/setup-maven@v5
Copy link
Contributor

Choose a reason for hiding this comment

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

Prefer the use of the Maven wrapper and set it up in the project instead

steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
Copy link
Contributor

Choose a reason for hiding this comment

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

use cache: maven setting in actions/setup-java instead

build:
name: "JDK 21 Eclipse Temurin"
linux-build:
name: "JDK 21 Eclipse Temurin Linux"
runs-on: ubuntu-latest
container: "maven:3.9.6-eclipse-temurin-21"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why would a custom container be needed? Isn't the default option enough?
Also, removing this container and using a run matrix will remove duplication for linux and windows runs

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