File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,17 @@ jobs:
4242 echo "BASE_URL_FE=${BASE_URL_FE}" > .env
4343 echo "BASE_URL_API=${BASE_URL_API}" > .env
4444
45- - name : Install Allure CLI
45+ - name : Install Allure CLI using Homebrew
4646 run : |
47- sudo apt-add-repository ppa:qameta/allure -y
48- sudo apt-get update
49- sudo apt-get install allure -y
47+ sudo apt-get update
48+ sudo apt-get install -y curl git
49+ git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
50+ mkdir ~/.linuxbrew/bin
51+ ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin
52+ eval "$(~/.linuxbrew/bin/brew shellenv)"
53+ echo 'eval "$(/home/runner/.linuxbrew/bin/brew shellenv)"' >> $GITHUB_ENV
54+ source $GITHUB_ENV
55+ brew install allure
5056
5157 - name : Run tests(UI & API) with Pytest
5258 run : |
5561
5662 - name : Generate Allure Report
5763 run : |
58- npx allure generate allure-results --clean -o allure-report
64+ source $GITHUB_ENV
65+ allure generate allure-results -o allure-report --clean
5966
6067 - name : Deploy Allure Report to GitHub Pages
6168 uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments