-
Notifications
You must be signed in to change notification settings - Fork 30
refactor: JUnit Jupiter migration from JUnit 4.x #998
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
base: master
Are you sure you want to change the base?
Changes from all commits
b0675d6
64d700a
9c326d0
542097c
52c57d5
2b54ae2
7636bf1
06da7af
9cb8366
1353454
90615f5
33aa39f
9346e62
0064ad5
0266d67
8813853
f79a956
e099633
e042926
bee2a55
ec798b1
2e84429
0003d1e
63eea75
01dbcda
1d1a53c
5b65c67
3fea6ba
cd1e987
1a90619
ef5f670
370fb46
46ab5c3
989c0ac
149091f
674ba2a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,13 @@ jobs: | |
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v3 | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 8 | ||
distribution: 'sapmachine' | ||
java-version: '17' | ||
- name: Build | ||
run: mvn -B -ntp --file pom.xml -DskipTests package | ||
env: | ||
|
@@ -29,3 +30,5 @@ jobs: | |
run: bash src/test/shell/tool/github/run_tests.sh | ||
env: | ||
TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
#once this credential is available, this could allow for fast pipeline runs | ||
#NVD_API_KEAY: ${{ secrets.NVD_API_KEY }} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -23,9 +23,15 @@ jobs: | |||||
- name: Checkout repository | ||||||
uses: actions/[email protected] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. newer version available |
||||||
|
||||||
- name: Set up SapMachine 17 | ||||||
uses: actions/setup-java@v4 | ||||||
with: | ||||||
distribution: 'sapmachine' | ||||||
java-version: '17' | ||||||
|
||||||
# Initializes the CodeQL tools for scanning. | ||||||
- name: Initialize CodeQL | ||||||
uses: github/codeql-action/init@v2 | ||||||
uses: github/codeql-action/init@v3 | ||||||
with: | ||||||
languages: ${{ matrix.language }} | ||||||
|
||||||
|
@@ -34,4 +40,4 @@ jobs: | |||||
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | ||||||
|
||||||
- name: Perform CodeQL Analysis | ||||||
uses: github/codeql-action/analyze@v2 | ||||||
uses: github/codeql-action/analyze@v3 |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -18,11 +18,11 @@ jobs: | |||||
os: [ubuntu-latest, windows-latest, macos-latest] | ||||||
steps: | ||||||
- uses: actions/[email protected] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. newer version available |
||||||
- name: Set up JDK 1.8 | ||||||
uses: actions/setup-java@v3 | ||||||
- name: Set up JDK 17 | ||||||
uses: actions/setup-java@v4 | ||||||
with: | ||||||
distribution: 'adopt' | ||||||
java-version: 8 | ||||||
distribution: 'sapmachine' | ||||||
java-version: '17' | ||||||
- name: Build with Maven | ||||||
run: mvn -B -ntp package --file pom.xml | ||||||
env: | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ src/test/shell/tool/github/*.log | |
.classpath | ||
.project | ||
.settings | ||
.checkstyle | ||
.checkstyle | ||
.DS_Store |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
FROM openjdk:8 | ||
FROM sapmachine:17 | ||
|
||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y git jq | ||
ADD target/fosstars-github-rating-calc.jar opt/fosstars-github-rating-calc.jar | ||
|
||
RUN wget https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \ | ||
HASH=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 && \ | ||
echo "$HASH apache-maven-3.6.3-bin.tar.gz" | sha512sum --check --status && \ | ||
tar xf apache-maven-3.6.3-bin.tar.gz -C /opt | ||
|
||
ENV M2_HOME="/opt/apache-maven-3.6.3" | ||
ENV MAVEN_HOME="/opt/apache-maven-3.6.3" | ||
ENV PATH="${MAVEN_HOME}/bin:${PATH}" | ||
|
||
ADD . /fosstars | ||
RUN cd /fosstars && mvn package -ntp -DskipTests -Dcheckstyle.skip -Dmaven.javadoc.skip | ||
|
||
RUN mkdir /work | ||
WORKDIR /work | ||
|
||
ENTRYPOINT [ "java", "-jar", "/fosstars/target/fosstars-github-rating-calc.jar" ] | ||
ENTRYPOINT [ "java", "-jar", "opt/fosstars-github-rating-calc.jar" ] |
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.
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.
newer version available