generated from Arquisoft/lomap_0
-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (34 loc) · 948 Bytes
/
lomap_es5a.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
name: CI for LOMAP ES5A
on:
pull_request:
branches: ['**']
push:
branches: ['**']
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'
jobs:
unit-e2e-tests:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm --prefix webapp ci --legacy-peer-deps
- run: npm --prefix webapp test --coverage --watchAll
- run: CI=false && npm --prefix webapp run build
- run: npm --prefix webapp run test:e2e --coverage --watchAll
- name: Analyze with SonarCloud
uses: sonarsource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}