added maven test
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Bruder John 2024-05-14 17:59:53 +02:00
parent 8b9b70b9ee
commit d91e3ad819
2 changed files with 16 additions and 1 deletions

15
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,15 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Run the Maven verify phase
run: mvn --batch-mode --update-snapshots verify

View File

@ -23,7 +23,7 @@ import java.util.List;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
public class SemanticTester { public class SemanticTest {
@BeforeEach @BeforeEach
public void init() { public void init() {