Skip to content

Update tests-changed report formatting and restore summary integration #1205

Update tests-changed report formatting and restore summary integration

Update tests-changed report formatting and restore summary integration #1205

Workflow file for this run

name: build-and-test
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
schedule:
- cron: '0 2 * * *'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build
run: npm run all:action
- name: Publish Test Report
uses: ./
with:
report-path: './ctrf/*.json'
summary-delta-report: true
tests-changed-report: true
github-report: true
failed-report: true
flaky-report: true
insights-report: true
fail-rate-report: true
flaky-rate-report: true
slowest-report: true
previous-results-report: true
upload-artifact: true
integrations-config: |
{
"slack": {
"enabled": true,
"action": "results",
"options": {
"onFailOnly": false
}
}
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()
- name: Publish Test Report
uses: ./
with:
report-path: './ctrf/*.json'
pull-request-report: true
annotate: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: always()