Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisLys committed Nov 4, 2024
1 parent 81ff9f4 commit 26bc2d3
Showing 1 changed file with 36 additions and 35 deletions.
71 changes: 36 additions & 35 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,43 +91,44 @@ jobs:
name: Report to Allure
# needs: test
steps:
- name: Install Homebrew
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl file git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew doctor

# - name: Install Homebrew
# run: |
# sudo apt-get update
# sudo apt-get install -y build-essential curl file git
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# brew doctor

- name: Install Allure
run: brew install allure

- name: Download artifact
uses: actions/download-artifact@v4
with:
name: allure-files
path: ./

- name: Load test report history
uses: actions/checkout@v3
if: always()
continue-on-error: true
with:
ref: gh-pages
path: gh-pages

- name: Build test report
uses: simple-elf/[email protected]
if: always()
with:
gh_pages: gh-pages
allure_history: allure-history
allure_results: allure-files/allure-results
# - name: Download artifact
# uses: actions/download-artifact@v4
# with:
# name: allure-files
# path: ./

- name: Publish test report
uses: peaceiris/actions-gh-pages@v3
if: always()
with:
github_token: ${{ secrets.TOKEN }}
publish_branch: gh-pages
publish_dir: allure-history
# - name: Load test report history
# uses: actions/checkout@v3
# if: always()
# continue-on-error: true
# with:
# ref: gh-pages
# path: gh-pages
#
# - name: Build test report
# uses: simple-elf/[email protected]
# if: always()
# with:
# gh_pages: gh-pages
# allure_history: allure-history
# allure_results: allure-files/allure-results
#
# - name: Publish test report
# uses: peaceiris/actions-gh-pages@v3
# if: always()
# with:
# github_token: ${{ secrets.TOKEN }}
# publish_branch: gh-pages
# publish_dir: allure-history

0 comments on commit 26bc2d3

Please sign in to comment.