Skip to content

Commit

Permalink
Instead of downloading and installing Homebrew to install Allure in o…
Browse files Browse the repository at this point in the history
…rder to generate the test report in a single .html file we are going to Download the Allure commandline tool and use it directly to generate the test report in a single .html file.

This should reduce the step execution time from ~2 minutes to < 10 seconds
  • Loading branch information
emilghittasv committed Nov 11, 2024
1 parent 438222a commit cd5fb24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ jobs:
working-directory: playwright_tests
if: success() || failure()
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
brew install allure
curl -o allure-2.32.0.tgz -L https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.32.0/allure-commandline-2.32.0.tgz
tar -zxvf allure-2.32.0.tgz
export PATH=$PATH:$PWD/allure-2.32.0/bin
allure generate --single-file reports/allure_reports
- name: Upload the combined test report as artifact
if: success() || failure()
Expand Down

0 comments on commit cd5fb24

Please sign in to comment.