Skip to content

Commit

Permalink
Prepare v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tginsberg committed Oct 14, 2024
1 parent 578b6b5 commit fc4bbc2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 38 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: Build and Test

on:
[ push ]
[ pull_request, push ]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write

pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -22,10 +21,22 @@ jobs:
distribution: 'temurin'
cache: 'gradle'

- name: Build and Publish
run: ./gradlew build publish --no-daemon
- name: Build
run: ./gradlew build --no-daemon

- name: Publish
run: ./gradlew publish --no-daemon
if: github.ref != 'refs/heads/master'
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
SONATYPE_SIGNING_KEY: ${{ secrets.SONATYPE_SIGNING_KEY }}
SONATYPE_SIGNING_PASSPHRASE: ${{ secrets.SONATYPE_SIGNING_PASSPHRASE }}

- name: Add coverage to PR
if: github.event_name == 'pull_request'
id: jacoco
uses: madrapps/jacoco-report@v1.6.1
with:
paths: ${{ github.workspace }}/**/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}
33 changes: 0 additions & 33 deletions .github/workflows/coverage.yml

This file was deleted.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log for `junit5-system-exit`

### 2.1.0
- TBD (but probably something to do with reflection and method handles)

### 2.0.0
- Remove terminally deprecated `SecurityManager` approach for preventing `System.exit()` calls.
- Add Java Agent-based approach. Calls to `System.exit()` are rewritten as classes are loaded.
Expand Down

0 comments on commit fc4bbc2

Please sign in to comment.