Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 8 additions & 13 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,42 +25,37 @@ body:
description: Please select the Allure integration you
options:
- allure-assertj
- allure-attachments
- allure-awaitility
- allure-bom
- allure-citrus
- allure-cucumber2-jvm
- allure-cucumber3-jvm
- allure-cucumber4-jvm
- allure-cucumber5-jvm
- allure-cucumber6-jvm
- allure-cucumber7-jvm
- allure-descriptions-javadoc
- allure-grpc
- allure-hamcrest
- allure-httpclient
- allure-httpclient5
- allure-java-commons
- allure-java-commons-test
- allure-jax-rs
- allure-jbehave
- allure-jbehave5
- allure-jooq
- allure-jsonunit
- allure-junit-platform
- allure-junit4
- allure-junit4-aspect
- allure-jupiter
- allure-jupiter-assert
- allure-junit5
- allure-junit5-assert
- allure-karate
- allure-okhttp
- allure-model
- allure-okhttp3
- allure-reader
- allure-playwright
- allure-rest-assured
- allure-scalatest
- allure-selenium-bidi
- allure-selenide
- allure-servlet-api
- allure-spock
- allure-spock2
- allure-spring-web
- allure-test-filter
- allure-testng
validations:
required: true
Expand Down
34 changes: 24 additions & 10 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,46 @@
"theme:assertj":
- "allure-assertj/**"

"theme:attachments":
- "allure-attachments/**"
"theme:awaitility":
- "allure-awaitility/**"

"theme:bom":
- "allure-bom/**"

"theme:citrus":
- "allure-citrus/**"

"theme:cucumber-jvm":
- "allure-cucumber*-jvm/**"
- "allure-cucumber7-jvm/**"

"theme:descriptions-javadoc":
- "allure-descriptions-javadoc/**"

"theme:grpc":
- "allure-grpc/**"

"theme:hamcrest":
- "allure-hamcrest/**"

"theme:httpclient":
- "allure-httpclient/**"
- "allure-httpclient5/**"

"theme:model":
- "allure-model/**"

"theme:core":
- "allure-java-commons/**"
- "allure-java-commons-test/**"
- "allure-test-filter/**"

"theme:jax-rs":
- "allure-jax-rs/**"

"theme:jbehave":
- "allure-jbehave*/**"
- "allure-jbehave5/**"

"theme:jooq":
- "allure-jooq/**"

"theme:jsonunit":
- "allure-jsonunit/**"
Expand All @@ -56,29 +68,31 @@
- "allure-karate/**"

"theme:okhttp":
- "allure-okhttp/**"
- "allure-okhttp3/**"

"theme:playwright":
- "allure-playwright/**"

"theme:rest-assured":
- "allure-rest-assured/**"

"theme:scalatest":
- "allure-scalatest/**"

"theme:selenium-bidi":
- "allure-selenium-bidi/**"

"theme:selenide":
- "allure-selenide/**"

"theme:servlet-api":
- "allure-servlet-api/**"

"theme:spock":
- "allure-spock/**"
- "allure-spock2/**"

"theme:spring":
- "allure-spring-web/**"

"theme:testng":
- "allure-testng/**"

"theme:hamcrest":
- "allure-hamcrest/**"
31 changes: 25 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ concurrency:

jobs:
build:
name: "Build"
name: "Build (JDK ${{ matrix.java }})"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [17, 25]
env:
ALLURE_MATRIX_ENV: ubuntu-jdk-21
ALLURE_TEST_DUMP_NAME: allure-results-test-jdk-21
ALLURE_MATRIX_ENV: ubuntu-jdk-${{ matrix.java }}
ALLURE_TEST_DUMP_NAME: allure-results-test-jdk-${{ matrix.java }}
steps:
- uses: actions/checkout@v6

Expand All @@ -37,19 +41,34 @@ jobs:
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: 21
java-version: ${{ matrix.java }}

- name: "Setup Gradle"
uses: gradle/actions/setup-gradle@v6
with:
gradle-version: 'wrapper'

- name: "Select Gradle task exclusions"
shell: bash
run: |
if [[ "${{ matrix.java }}" == "17" ]]; then
higher_java_modules=(
":allure-jooq"
":allure-karate"
)
excludes=()
for module in "${higher_java_modules[@]}"; do
excludes+=("-x" "$module:build" "-x" "$module:test")
done
echo "GRADLE_EXCLUDES=${excludes[*]}" >> "$GITHUB_ENV"
fi

- name: "Build with Gradle"
run: ./gradlew build -x test --scan
run: ./gradlew build -x test $GRADLE_EXCLUDES --scan

- name: "Run tests with Allure"
if: always()
run: npx -y allure@3 run --config ./allurerc.mjs --rerun 2 --environment="${{ env.ALLURE_MATRIX_ENV }}" --dump="${{ env.ALLURE_TEST_DUMP_NAME }}" -- ./gradlew --no-build-cache cleanTest test
run: npx -y allure@3 run --config ./allurerc.mjs --rerun 2 --environment="${{ env.ALLURE_MATRIX_ENV }}" --dump="${{ env.ALLURE_TEST_DUMP_NAME }}" -- ./gradlew --no-build-cache cleanTest test $GRADLE_EXCLUDES

- name: "Upload Allure test dump"
if: always()
Expand Down
Loading
Loading