-
Notifications
You must be signed in to change notification settings - Fork 22
41 lines (38 loc) · 1.19 KB
/
ci.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: Alfresco SSL Generator CI
on:
pull_request:
branches:
- feature/**
- fix/**
- master
push:
branches:
- feature/**
- fix/**
workflow_call:
workflow_dispatch:
jobs:
test_new:
name: "Test new approach"
runs-on: ubuntu-latest
if: >
!contains(github.event.head_commit.message, '[skip tests]') &&
!contains(github.event.head_commit.message, '[force]')
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0
- name: "Run testing script"
run: bash ./scripts/ci/test.sh
test_legacy:
name: "Test legacy approach"
runs-on: ubuntu-latest
if: >
!contains(github.event.head_commit.message, '[skip tests]') &&
!contains(github.event.head_commit.message, '[force]')
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0
- name: "Run testing script"
run: bash ./scripts/ci/test_legacy.sh