11
22name : Run unit and e2e tests
33
4+ concurrency :
5+ group : ${{ github.workflow }}-${{ github.ref }}
6+ cancel-in-progress : true
7+
48on :
59 pull_request :
610 types : [opened, synchronize]
2327 - name : run tests with coverage
2428 env :
2529 NODE_OPTIONS : " --max_old_space_size=8192"
26- run : npm run test:coverage
30+ run : npm run test:report
31+ - name : Test Coverage Comment
32+ uses : ./.github/actions
33+ with :
34+ GITHUB_TOKEN : ${{ github.token }}
35+ if : always()
2736 run-branch-unit-tests-and-coverage :
2837 timeout-minutes : 10
2938 runs-on : ubuntu-22.04
@@ -49,27 +58,27 @@ jobs:
4958 env :
5059 NODE_OPTIONS : " --max_old_space_size=8192"
5160 run : npm run test:branch
52- run-cypress-tests :
53- timeout-minutes : 15
54- runs-on : ubuntu-22.04
55- steps :
56- - name : Checkout
57- uses : actions/checkout@v3
58- - name : Setup Node.js environment
59- uses : actions/setup-node@v3.8.1
60- with :
61- node-version : 20
62- - name : Cypress install
63- env :
64- NODE_OPTIONS : " --max_old_space_size=8192"
65- run : npm install --legacy-peer-deps
66- - name : Cypress run
67- uses : cypress-io/github-action@v5
68- env :
69- NODE_OPTIONS : " --max_old_space_size=8192"
70- GITHUB_TOKEN : ${{ github.token }}
71- with :
72- install : false
73- build : npm run build
74- start : npm run serve
75- broswer : chrome
61+ # run-cypress-tests:
62+ # timeout-minutes: 15
63+ # runs-on: ubuntu-22.04
64+ # steps:
65+ # - name: Checkout
66+ # uses: actions/checkout@v3
67+ # - name: Setup Node.js environment
68+ # uses: actions/setup-node@v3.8.1
69+ # with:
70+ # node-version: 20
71+ # - name: Cypress install
72+ # env:
73+ # NODE_OPTIONS: "--max_old_space_size=8192"
74+ # run: npm install --legacy-peer-deps
75+ # - name: Cypress run
76+ # uses: cypress-io/github-action@v5
77+ # env:
78+ # NODE_OPTIONS: "--max_old_space_size=8192"
79+ # GITHUB_TOKEN: ${{ github.token }}
80+ # with:
81+ # install: false
82+ # build: npm run build
83+ # start: npm run serve
84+ # broswer: chrome
0 commit comments