forked from mendix/docker-mendix-buildpack
-
Notifications
You must be signed in to change notification settings - Fork 6
58 lines (45 loc) · 1.5 KB
/
test.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
58
# This is a basic workflow to help you get started with Actions
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test-default:
name: Test with default parameters
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Run the integration test script
- name: Run integration tests
run: sh ./.integrationtest.sh
test-bionic:
name: Test with a bionic rootfs
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Switch to Ubuntu Bionic rootfs
- name: Switch to Ubuntu Bionic rootfs
run: |
echo -n "mendix/rootfs:bionic" > rootfs.version
echo -n "bionic" > docker-buildpack.version
# Run the integration test script
- name: Run integration tests
run: sh ./.integrationtest.sh
test-ubi8:
name: Test with a ubi8 rootfs
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Switch to ubi8 rootfs
- name: Switch to ubi8 rootfs
run: |
echo -n "mendix/rootfs:ubi8" > rootfs.version
echo -n "ubi8" > docker-buildpack.version
# Run the integration test script
- name: Run integration tests
run: sh ./.integrationtest.sh