Skip to content

Commit

Permalink
Merge branch 'master' into feat/is-null
Browse files Browse the repository at this point in the history
  • Loading branch information
reifocS committed Jun 20, 2024
2 parents e1aace9 + 2c60a58 commit 3197797
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 47 deletions.
40 changes: 0 additions & 40 deletions .circleci/config.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Test & Coverage
on:
pull_request:
branches:
- '*'

jobs:
test-and-coverage:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Set up the Maven dependencies caching
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Run tests
run: mvn --batch-mode --update-snapshots verify -Dgpg.skip=true -Ddependency-check.skip=true

- name: Add coverage
uses: madrapps/[email protected]
with:
paths: |
${{ github.workspace }}/target/test-results/coverage/jacoco/jacoco.xml
token: ${{ secrets.GITHUB_TOKEN }}
title: '### :zap: Coverage report'
update-comment: true
min-coverage-overall: 80
min-coverage-changed-files: 75
continue-on-error: false
6 changes: 0 additions & 6 deletions codecov.yml

This file was deleted.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<properties>
<java.version>17</java.version>
<kotlin.version>1.9.22</kotlin.version>
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<h2.version>2.2.220</h2.version>
<jackson-databind.version>2.16.0</jackson-databind.version>
<snakeyaml.version>2.0</snakeyaml.version>
Expand Down

0 comments on commit 3197797

Please sign in to comment.