-
Notifications
You must be signed in to change notification settings - Fork 3
55 lines (47 loc) · 1.33 KB
/
example-website.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
49
50
51
52
53
54
55
name: Example Website Tests Running on Github Actions
on:
push:
branches:
- master
# Only pay attention to the website folder
paths:
- examples/website/**
jobs:
regression:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
#- name: enable arm containers
#run: |
#sudo apt-get update
#sudo apt-get install qemu-system-arm qemu-efi qemu-user-static -y
# Website Integration Tests
- name: build environment
run: |
cd examples/website
./run.sh make
- name: regression test
run: |
cd examples/website
./run.sh regression
- name: save regression test artefacts
if: always()
uses: actions/upload-artifact@v3
with:
name: regression-test-artefacts
path: |
examples/website/hitch/artefacts/**
#- name: Code Coverage Report
# uses: irongut/[email protected]
# with:
# filename: examples/website/artefacts/coverage.xml
# badge: true
# fail_below_min: true
# format: markdown
# hide_branch_rate: false
# hide_complexity: false
# indicators: true
# output: both
# thresholds: '60 80'