Skip to content

Commit

Permalink
test mikepenz/action-junit-report macro
Browse files Browse the repository at this point in the history
  • Loading branch information
j-l-s committed Sep 17, 2024
1 parent 6eb3626 commit 5b4d1f3
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@ run-name: ${{ github.actor }} has launched CI process on ${{ github.ref_name }}
on:
push:
branches:
- "main"
- "develop"
- "feature/publish-test-report"
# - "main"
# - "develop"
pull_request:
branches:
- "main"
- "develop"
- "feature/publish-test-report"
# - "main"
# - "develop"

jobs:
Continuous-Integration-Actions:
runs-on: self-hosted

env:
PACKAGE_TOKEN: ${{ secrets.JLS_TOKEN }}

steps:
- name: Checkout of head
id: ci-sources-checkout
Expand All @@ -36,18 +35,8 @@ jobs:
- name: Gradle tests
run: ./gradlew test

- name: Get test artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v4
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
name: Package
path: |
**/build/reports/
**/build/test-results/
- name: Final Step
id: ci-final-step
run: |
echo "This job's status is ${{ job.status }}."
echo "Created jar file(s):"
find ./build -name '*.jar'
report_paths: '**/build/test-results/test/TEST-*.xml'

0 comments on commit 5b4d1f3

Please sign in to comment.