-
Notifications
You must be signed in to change notification settings - Fork 13
36 lines (34 loc) · 1006 Bytes
/
ai.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: ai
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: npx tsc
- name: Test ai with title
run: node dist/index.js ai ctrf-reports/ctrf-report.json --title "AI Summary With Title"
- name: Test ai without title
run: node dist/index.js ai ctrf-reports/ctrf-report.json
- name: Test ai with suite name
run: node dist/index.js ai ctrf-reports/ctrf-report.json --use-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