-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (45 loc) · 1.36 KB
/
test.yaml
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
name: test
on:
pull_request:
permissions:
contents: read
jobs:
test-install:
strategy:
fail-fast: false
matrix:
os:
- ubuntu:jammy
- ubuntu:focal
- debian:bullseye
- oraclelinux:9
- oraclelinux:8
- oraclelinux:7
- amazonlinux:2
- amazonlinux:2023
runs-on: ubuntu-latest
container:
image: ${{ matrix.os }}
env:
ZE_LOG_COLLECTOR_URL: 'https://cloud.zebrium.com'
ZE_LOG_COLLECTOR_TOKEN: 'test-token'
START_SERVICES: 0
steps:
- name: Install Dependencies Ubuntu
if: ${{ contains( matrix.os, 'ubuntu') || contains(matrix.os, 'debian' ) }}
run: |
apt-get -qq update
apt-get -qq install -y git curl lsb-release sudo
- name: Install Dependencies Ubuntu Xenial
if: ${{ contains( matrix.os, 'xenial') }}
run: |
apt-get -qq update
apt-get -qq install -y apt-transport-https
- name: Install Dependencies RPM
if: ${{ contains( matrix.os, 'oracle') || contains(matrix.os, 'redhat' ) || contains(matrix.os, 'amazon' ) }}
run: |
yum -q update -y
yum -q install -y git sudo
- uses: actions/checkout@v3
- run: git config --system --add safe.directory $GITHUB_WORKSPACE
- run: ./install_collector.sh