feat: update or overwrite existing or comment #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: suite-example | |
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 | |
- name: Suite folded table with filepath | |
run: node dist/core/cli.js suite-folded ctrf-reports/ctrf-report.json --title "Suite folded table with filepath" | |
- name: Suite folded table with suite name | |
run: node dist/core/cli.js suite-folded ctrf-reports/ctrf-report.json --title "Suite folded" --useSuite --title "Suite folded table with suite name" | |
- name: Suite list with filepath | |
run: node dist/core/cli.js suite-list ctrf-reports/ctrf-report.json --title "Suite list" "Suite list with filepath" | |
- name: Suite list with suit name | |
run: node dist/core/cli.js suite-list ctrf-reports/ctrf-report.json --useSuite --title "Suite list with suite name" | |
- 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 |