forked from jk_yinzy/cicd-test
Compare commits
No commits in common. "b463d6cd26a81444e47816c6fd4b425c967999be" and "df64e11566e79bd63963f808d5486e644dd4a12a" have entirely different histories.
b463d6cd26
...
df64e11566
@ -4,6 +4,7 @@ name: multi-lang-ci
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
branch:
|
||||
- main
|
||||
|
||||
8
pom.xml
8
pom.xml
@ -11,12 +11,4 @@
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<version>5.12.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@ -4,10 +4,5 @@ public class App {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello, World!");
|
||||
}
|
||||
|
||||
public String greet() {
|
||||
return "Hello, World!";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
package com.example;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
public class AppTest {
|
||||
@Test public void testGreet() { App app = new App(); assertEquals("Hello, World!", app.greet()); }
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user