-
Notifications
You must be signed in to change notification settings - Fork 3
57 lines (47 loc) · 1.25 KB
/
examples.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
56
57
name: Example Tests Running on Github Actions
on:
push:
branches:
- master
paths:
- examples/commandline/**
- examples/restapi/**
- examples/pythonapi/**
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
# REST API Integration Tests
- name: build restapi
run: |
cd examples/restapi
./run.sh make
- name: regression test restapi
run: |
cd examples/restapi
./run.sh regression
# Interactive Command Line Integration Tests
- name: build command line
run: |
cd examples/commandline
./run.sh make
- name: regression test commandline
run: |
cd examples/commandline
./run.sh pytest
# Python API Integration Tests
- name: build python api
run: |
cd examples/pythonapi
./run.sh make
- name: regression test python api
run: |
cd examples/pythonapi
./run.sh pytest