Regression Tests #213
This file contains hidden or 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
| name: Regression Tests | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '30 1 * * 1' | |
| jobs: | |
| Run_Regression_Tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'adopt' | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v5 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Run Tests | |
| run: ./gradlew runTests -Dtags=@regression | |
| - name: Publish JUnit Test Report | |
| uses: mikepenz/action-junit-report@v6 | |
| if: always() | |
| with: | |
| report_paths: '**/build/reports/cucumber.xml' | |
| - name: Get Allure Report history | |
| uses: actions/checkout@v4 | |
| if: always() | |
| continue-on-error: true | |
| with: | |
| ref: reports | |
| path: reports/regression | |
| - name: Build Allure Report | |
| uses: simple-elf/allure-report-action@v1.13 | |
| if: always() | |
| id: allure-report | |
| with: | |
| allure_results: build/allure-results | |
| gh_pages: reports/regression | |
| allure_report: regression/allure-report | |
| allure_history: regression/allure-history | |
| keep_reports: 20 | |
| subfolder: regression | |
| - name: Deploy Allure report to Github Pages into the regression dir | |
| if: always() | |
| uses: peaceiris/actions-gh-pages@v3.8.0 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_branch: reports | |
| publish_dir: regression/allure-history | |
| keep_files: true |