-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
203 additions
and
900 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: Allure Report | ||
run-name: ${{ github.actor }} is creating Allure report 🚀 | ||
|
||
on: | ||
push: | ||
|
@@ -10,41 +11,39 @@ jobs: | |
name: Run tests and generate Allure Report | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
- name: Clone repository | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Java 21 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 8 | ||
java-version: 21 | ||
cache: 'gradle' | ||
distribution: 'zulu' | ||
|
||
- name: Install dependencies | ||
run: ./gradlew compileTestJava | ||
|
||
- name: Run Test | ||
if: always() | ||
run: ./gradlew test | ||
continue-on-error: true | ||
|
||
- name: Get Allure history | ||
uses: actions/checkout@v3 | ||
- name: Setup Allure History | ||
uses: actions/checkout@v4.1.1 | ||
if: always() | ||
continue-on-error: true | ||
with: | ||
ref: gh-pages | ||
path: gh-pages | ||
|
||
- name: Allure Report action from marketplace | ||
- name: Generate Allure Report | ||
uses: simple-elf/[email protected] | ||
if: always() | ||
with: | ||
allure_results: build/allure-results | ||
allure_history: allure-history | ||
|
||
- name: Deploy report to Github Pages | ||
- name: Publish Allure Report | ||
if: always() | ||
uses: peaceiris/actions-gh-pages@v2 | ||
env: | ||
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PUBLISH_BRANCH: gh-pages | ||
PUBLISH_DIR: allure-history | ||
uses: peaceiris/actions-gh-pages@v3.9.3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_branch: gh-pages | ||
publish_dir: allure-history |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,34 @@ | ||
#Allure | ||
.allure | ||
/*/allure-results/ | ||
|
||
#Maven | ||
target | ||
|
||
#Gradle | ||
.gradle | ||
schema | ||
build | ||
/*/allure-results/ | ||
out | ||
.gradletasknamecache | ||
|
||
#IDEA Files | ||
#IDEA | ||
.idea/* | ||
*.iml | ||
*.ipr | ||
|
||
#Eclipse files | ||
#Eclipse | ||
*.settings | ||
*.classpath | ||
*.project | ||
*.pydevproject | ||
|
||
#Mac OS stuff | ||
.DS_Store | ||
#Netbeans | ||
**/nbproject/private/ | ||
**/nbproject/Makefile-*.mk | ||
**/nbproject/Package-*.bash | ||
nbbuild/ | ||
dist/ | ||
nbdist/ | ||
.nb-gradle/ | ||
|
||
#Netbeans files | ||
/.nb-gradle/ | ||
#Mac OS | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# Allure Spock 2 Groovy 4 example | ||
# Allure Example | ||
|
||
This project uses Gradle KTS, JUnit Platform and Groovy 4 | ||
> Example of Allure Report usage with spock, groovy 4.0 and Gradle (Kotlin) | ||
The generated report available here: https://allure-examples.github.io/allure-spock2-gradle-kts | ||
<!--<img src="https://allurereport.org/public/img/allure-report.svg" alt="Allure Report logo" style="float: right" />--> | ||
|
||
- Learn more about Allure Report at https://allurereport.org | ||
- 📚 [Documentation](https://allurereport.org/docs/) – discover official documentation for Allure Report | ||
- ❓ [Questions and Support](https://github.com/orgs/allure-framework/discussions/categories/questions-support) – get help from the team and community | ||
- 📢 [Official annoucements](https://github.com/orgs/allure-framework/discussions/categories/announcements) – be in touch with the latest updates | ||
- 💬 [General Discussion ](https://github.com/orgs/allure-framework/discussions/categories/general-discussion) – engage in casual conversations, share insights and ideas with the community | ||
|
||
--- | ||
|
||
The generated report is available here: [https://allure-examples.github.io/spock-groovy-4.0-gradlekts](https://allure-examples.github.io/spock-groovy-4.0-gradlekts/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.