forked from lf-edge/eve
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 1.01 KB
/
eden.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
---
name: lf-edge/eden Test suite
# yamllint disable-line rule:truthy
on:
push:
branches:
- "master"
- "[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+-stable"
paths-ignore:
- 'docs/**'
- 'pkg/pillar/docs/**'
pull_request_review:
types: [submitted]
paths-ignore:
- 'docs/**'
- 'pkg/pillar/docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test_suite_pr:
if: github.event.review.state == 'approved'
uses: lf-edge/eden/.github/workflows/test.yml@0.9.2
with:
eve_image: "evebuild/danger:pr${{ github.event.pull_request.number }}"
test_suite_master:
if: github.ref == 'refs/heads/master'
uses: lf-edge/eden/.github/workflows/test.yml@0.9.2
with:
eve_image: "lfedge/eve:snapshot"
test_suite_tag:
if: startsWith(github.ref, 'refs/tags')
uses: lf-edge/eden/.github/workflows/test.yml@0.9.2
with:
eve_image: "lfedge/eve:${{ github.ref_name }}"