Skip to content

Commit

Permalink
ci: add basic GitHub Actions pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
b-fein committed Sep 27, 2024
1 parent e0e0cf7 commit 7ce57b9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build & Test

on:
push:
pull_request:

jobs:
build_and_test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
cache: maven

- name: Run tests
run: mvn --batch-mode --update-snapshots test jacoco:report

- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 7ce57b9

Please sign in to comment.