Skip to content

Commit

Permalink
ci: add workflows runs on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
firmanrosid committed Jul 12, 2024
1 parent 710af70 commit 49ed9d5
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/allure-history-mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: allure-history-mac

on:
workflow_dispatch:

jobs:
generate-report:
name: Generate Report
runs-on: ktbs-sdet-macmini-runner
steps:

- uses: actions/checkout@v4

- name: Get history
uses: actions/checkout@v4
continue-on-error: true
with:
ref: gh-pages
path: gh-pages

- name: Report History Action
uses: kitabisa/dukun@master
with:
subfolder: allure
keep_reports: 2
report_folder: allure-results
allure_report: allure-report
gh_pages: gh-pages
report_history: report-history

- name: Deploy Report to Github Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./report-history
34 changes: 34 additions & 0 deletions .github/workflows/report-history-mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: report-history-mac

on:
workflow_dispatch:

jobs:
generate-report:
name: Generate Report
runs-on: ktbs-sdet-macmini-runner
steps:

- uses: actions/checkout@v4

- name: Get history
uses: actions/checkout@v4
continue-on-error: true
with:
ref: gh-pages
path: gh-pages

- name: Report History Action
uses: kitabisa/dukun@master
with:
subfolder: report
keep_reports: 2
report_folder: report
gh_pages: gh-pages
report_history: report-history

- name: Deploy Report to Github Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./report-history

0 comments on commit 49ed9d5

Please # to comment.