diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 1fafe14fd8..47d942b155 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -49,24 +49,24 @@ jobs: if: always() with: ref: gh-pages - path: ./.github/gh-pages + path: gh-pages - name: Copy history from gh-pages to allure-results if: always() run: | - sudo mkdir -p allure-results/history - sudo cp -R ./.github/gh-pages/history/* allure-results/history/ + sudo mkdir -p allure-results/history gh-pages/history + sudo cp -R gh-pages/history/* allure-results/history/ - name: Generate Allure report if: always() run: | sudo docker-compose run regression /bin/sh -c "allure generate allure-results --clean -o allure-report" - - name: Update Allure history - if: always() - run: | - sudo cp -R allure-report/history/* ./.github/gh-pages/history/ +# - name: Update Allure history +# if: always() +# run: | +# sudo cp -R allure-report/history/* gh-pages/history/ - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4 @@ -75,5 +75,17 @@ jobs: token: ${{ secrets.CI_TOKEN }} branch: gh-pages folder: allure-report - history dir: allure-history - #clean: true \ No newline at end of file +# history dir: allure-history + #clean: true + + + + +# Make sure you have the previous report generated in the allure-report directory. +# Remove the allure-results directory. +# Run the tests. +# Copy the allure-report/history subdirectory to allure-results/history. +# Generate the new report. +# If you follow such a routine regularly, +# Allure will each time keep data from up to 20 latest reports in allure-results/history. +# This creates up to 20 history entries for each test and up to 20 columns in each graph. \ No newline at end of file