Skip to content

ci: amend name of custom template #187

ci: amend name of custom template

ci: amend name of custom template #187

Workflow file for this run

name: flaky-exmaple
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
testing:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build
run: npm run build:npm
- name: Flaky table
run: node dist/core/cli.js flaky ctrf-reports/ctrf-report.json --title "Flaky table"
- name: Flaky rate table
run: node dist/core/cli.js flaky-rate ctrf-reports/ctrf-report.json --title "Flaky rate table" --annotate false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Flaky rate table max results 2
run: node dist/core/cli.js flaky-rate ctrf-reports/ctrf-report.json --title "Flaky rate table max results 2" --results 2 --annotate false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Flaky rate table custom artifact name
run: node dist/core/cli.js flaky-rate ctrf-reports/ctrf-report-no-fails.json --annotate false --title "Flaky rate table custom artifact name" --artifact-name custom-artifact-name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: ctrf-report
path: ctrf-reports/ctrf-report.json
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: custom-artifact-name
path: ctrf-reports/ctrf-report-no-fails.json