-
Notifications
You must be signed in to change notification settings - Fork 17
49 lines (45 loc) · 1.2 KB
/
entry-on-pull-request.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
name: OnPullRequest
on:
pull_request:
branches:
- 'dev'
- 'main'
- 'master'
defaults:
run:
shell: bash
env:
GITHUB_WORKFLOW_FOLDER: ./.github/workflows
JEMPI_APP_PATH: ./JeMPI_Apps
jobs:
prepare:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/prepare
lint-check:
needs: [prepare]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/lint
build-check:
needs: [lint-check]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/build-check
test:
needs: [build-check]
runs-on: ubuntu-22.04
continue-on-error: true # TODO: Uncomment this out once tests are in a better state - ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/test
smoke-test:
needs: [test]
runs-on: ubuntu-22.04
continue-on-error: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/smoke-test