-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (41 loc) · 1.06 KB
/
TEST_REPORT.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
name: test-report
on:
pull_request:
branches:
- main
- release
paths:
- "client/**"
jobs:
test-report:
runs-on: ubuntu-latest
steps:
- name: 체크아웃
uses: actions/checkout@v2
- name: Node.js 세팅
uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Runner 타임존 설정
run: |
sudo timedatectl set-timezone 'Asia/Seoul'
- name: 패키지 설치
working-directory: ./client
run: |
yarn
- name: 테스트 실행
working-directory: ./client
run: |
yarn -s test
- name: 테스트 결과 발행
uses: n-ryu/[email protected]
if: always()
with:
name: JEST Tests # Name of the check run which will be created
path: client/reports/*.xml # Path to test results
reporter: jest-junit
- name: Code Coverage 리포트 발행
if: always()
uses: codecov/codecov-action@v3
with:
flags: unittests # opti