-
Notifications
You must be signed in to change notification settings - Fork 28
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
Replace old GitHub action with updated one. #247
+85
−87
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
5278700
Replace old GitHub action with updated one.
uhafner 1dd8c78
Check for any whitespace at the line end.
uhafner 422bb78
Merge remote-tracking branch 'origin/master' into github-ci
uhafner 74e1be4
Build only on Java 17 and 21.
uhafner 491001d
Build only on Java 17 and 21.
uhafner 4e0271c
Remove UNIX_LINES.
uhafner 90fa1a0
Check for any whitespace at the line end.
uhafner d781eb6
Add missing get.
uhafner bc454a3
Always print the time, even if < 1ms.
uhafner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: 'GitHub CI' | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
|
||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest, macos-latest, windows-latest] | ||
jdk: [17, 21] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
name: on ${{ matrix.platform }} with JDK ${{ matrix.jdk }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK ${{ matrix.jdk }} | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '${{ matrix.jdk }}' | ||
check-latest: true | ||
cache: 'maven' | ||
- name: Set up Maven | ||
uses: stCarolas/setup-maven@v5 | ||
with: | ||
maven-version: 3.9.6 | ||
- name: Build with Maven | ||
env: | ||
BROWSER: chrome-container | ||
run: mvn -V --color always -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
def configurations = [ | ||
[ platform: "linux", jdk: "11" ], | ||
[ platform: "windows", jdk: "11" ] | ||
[ platform: "linux", jdk: "21" ], | ||
[ platform: "windows", jdk: "17" ] | ||
] | ||
|
||
buildPlugin(failFast: false, configurations: configurations, | ||
def params = [ | ||
failFast: false, | ||
configurations: configurations, | ||
checkstyle: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]], | ||
pmd: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]] ) | ||
spotbugs: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]]] | ||
] | ||
|
||
buildPlugin(params) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timja I removed the guard as
FlowGraphTable.Row
correctly handles the case where duration = 0. This makes the test run on all platforms now.