Skip to content

Support custom properties in textual representation (#62) #21

Support custom properties in textual representation (#62)

Support custom properties in textual representation (#62) #21

Workflow file for this run

name: cicd-main
on:
push:
branches:
- main
jobs:
build-and-test:
uses: ./.github/workflows/build-and-test.yml
# Publish a test report using the playwright result files published in the previous step (execute in Linux only).
publish-playwright-test-report:
name: Publish PlayWright Test Report
needs: build-and-test
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
if: always()
steps:
# Setup the GitHub Pages, if it doesn't exist yet.
- name: Setup Pages
uses: actions/configure-pages@v3
# Download the test results artifacts.
- name: Download Test Results
uses: actions/download-artifact@v3
with:
name: allure-results
path: allure-results
# Get the gh-pages history, so the next report can be generated with history.
- name: Get History
uses: actions/checkout@v4
continue-on-error: true
with:
ref: gh-pages
path: gh-pages
# Generate the Allure Report
- name: Generate Allure Report
uses: simple-elf/allure-report-action@master
with:
# Where to find the allure results.
allure_results: allure-results
# Where to publish the history.
allure_history: allure-history
keep_reports: 100
# Subfolder in the destination.
subfolder: allure
# Where to find the gh-pages history.
gh_pages: gh-pages
# Upload allure-history report to github-pages artifact.
- name: Upload Pages
uses: actions/upload-pages-artifact@v2
with:
path: 'allure-history'
# Deploy the github-pages artifact to GitHub pages.
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2