Skip to content

Commit 88ec77d

Browse files
committed
[workflow/test] Added test runner yaml file
1 parent 99e291d commit 88ec77d

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

.github/workflows/code-check.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ jobs:
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121

22-
- name: Run unit tests
23-
run: yarn run test --coverage --forceExit --maxWorkers=2
24-
continue-on-error: false
25-
2622
- name: SonarCloud Scan
2723
uses: sonarsource/sonarcloud-github-action@v2
2824
env:

.github/workflows/test-runner.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test Runner
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
jobs:
9+
code-quality-check:
10+
name: Test Runner
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Install dependencies
18+
uses: ./.github/actions/install-dependencies
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
22+
- name: Run unit tests
23+
run: yarn run test --coverage --forceExit --maxWorkers=2
24+
continue-on-error: false

0 commit comments

Comments
 (0)