Skip to content

Bump net.bytebuddy:byte-buddy-agent from 1.14.14 to 1.14.15 #2281

Bump net.bytebuddy:byte-buddy-agent from 1.14.14 to 1.14.15

Bump net.bytebuddy:byte-buddy-agent from 1.14.14 to 1.14.15 #2281

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java pipeline
on:
push:
branches:
- develop
pull_request:
branches: [ develop ]
env:
MAVEN_OPTS: >-
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Didea.ignore.disabled.plugins=true
-Didea.home.path=/tmp"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-env:
runs-on: ubuntu-latest
outputs:
repo-token-available: ${{ steps.repo-token.outputs.defined }}
steps:
- id: repo-token
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
if: "${{ env.REPO_TOKEN != '' }}"
run: echo "defined=true" >> "$GITHUB_OUTPUT"
java11-build:
timeout-minutes: 20
needs: [ check-env ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup environment
uses: ./.github/actions/setup-environment
with:
java-version: 11
- name: Java 11 - unit & integration tests code coverage
run: >-
set -o pipefail
./mvnw -B -Pjava11,ci
-Dfailsafe.rerunFailingTestsCount=1
-Dsurefire.rerunFailingTestsCount=1
clean verify jacoco:report -Dscan -Dscan.tag.Java11
set +o pipefail
- name: Publish Test reports
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
check_name: Java 11 Test Reports
report_paths: '**/target/*-reports/TEST-*.xml'
- name: Coveralls report
if: needs.check-env.outputs.repo-token-available == 'true'
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
run: |
./mvnw -B -Pjava11 -DrepoToken=$REPO_TOKEN coveralls:report
java17-build:
timeout-minutes: 20
needs: [ check-env ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup environment
uses: ./.github/actions/setup-environment
with:
java-version: 17
- name: Java 17 - unit & integration tests code coverage
run: >-
set -o pipefail
./mvnw -B -Pjava17,ci
-Dfailsafe.rerunFailingTestsCount=1
-Dsurefire.rerunFailingTestsCount=1
clean verify jacoco:report -Dscan -Dscan.tag.Java17
set +o pipefail
- name: Publish Test reports
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
check_name: Java 17 Test Reports
report_paths: '**/target/*-reports/TEST-*.xml'
- name: Coveralls report
if: needs.check-env.outputs.repo-token-available == 'true'
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
run: |
./mvnw -B -Pjava17 -DrepoToken=$REPO_TOKEN coveralls:report
java17-parallelism-tests:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup environment
uses: ./.github/actions/setup-environment
with:
java-version: 17
- name: determine Fluentlenium version
uses: ./.github/actions/determine-fluentlenium-version
- name: Java 17 - unit & integration tests
run: >-
./mvnw -Dit.project.version=$FLUENTLENIUM_VERSION
-B -Pframework-integration-tests,java17
-pl '!fluentlenium-integration-tests,!fluentlenium-kotest,
!fluentlenium-kotest-assertions,!fluentlenium-cucumber,
!fluentlenium-spock,!fluentlenium-coverage-report,
!fluentlenium-spring-testng'
clean test -Dtest=*/it/* -Dsurefire.failIfNoSpecifiedTests=false
- name: Publish Test reports
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
check_name: Java 17 Parallelism Test Reports
report_paths: '**/target/*-reports/TEST-*.xml'
java17-javadoc:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup environment
uses: ./.github/actions/setup-environment
with:
java-version: 17
- name: Install Fluentlenium
uses: ./.github/actions/fluentlenium-maven-install
- name: Java 17 - JavaDoc
run: ./mvnw -B -Pjava17 javadoc:aggregate
- name: Java 17 - Dokka
run: >-
./mvnw -B -pl fluentlenium-kotest,fluentlenium-kotest-assertions
-P sonatype-oss-release org.jetbrains.dokka:dokka-maven-plugin:dokka