-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.22 KB
/
jasmine-model-tests.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
name: JASMINE-MODEL-TESTS
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
jasmine_tests:
permissions:
contents: write
packages: read
runs-on: ubuntu-latest
container:
image: ghcr.io/alexishfr/archimate-script-ci-image:5.2.0-dev
name: Run Jasmine Tests
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Check out the model repo
id: archi-checkout
run: /opt/Archi/entrypoint.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ARCHI_HTML_REPORT_ENABLED: "false"
ARCHI_JASPER_REPORT_ENABLED: "false"
ARCHI_CSV_REPORT_ENABLED: "false"
ARCHI_EXPORT_MODEL_ENABLED: "false"
- name: Run jArchi script that launch Jasmine tests
id: archi-jarchi
run: /opt/Archi/launcher.sh
env:
JASMINE: "true"