eroshenkoam / allure-publish-github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allure Example

How to configure GitHub pages

How to build report with history

GitHub Workflow

  • copy history from previous build
    - name: Copy History
      uses: actions/checkout@v2
      if: always()
      with:
        ref: gh-pages
        path: gh-pages
    
  • generate allure report with history
    - name: Build Report
      uses: simple-elf/allure-report-action@v1.7
      if: always()
      with:
        allure_results: build/allure-results
        allure_history: allure-history
        keep_reports: 20
    
  • push history to next builds
    - name: Publish Report
      if: always()
      uses: peaceiris/actions-gh-pages@v2
      env:
        PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        PUBLISH_BRANCH: gh-pages
        PUBLISH_DIR: allure-history
    

About


Languages

Language:Java 100.0%