-
Notifications
You must be signed in to change notification settings - Fork 83
49 lines (47 loc) · 1.03 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
name: CI
on: [push, pull_request]
jobs:
build1:
name: build_group1
runs-on: ubuntu-latest
strategy:
matrix:
node:
- cgit
- clr-installer-ci
- golang
- haproxy
- httpd
- iperf
- machine-learning-ui
- mariadb
- memcached
- mixer-ci
- nginx
- node
- openjdk/8
- openjdk/13
- os-core
- perl
- php
- php-fpm
- postgres
- python
- rabbitmq
- redis
- ruby
steps:
- uses: actions/checkout@v1
- name: install
run: |
sudo apt-get install bats -f
sudo modprobe -r overlay
sudo modprobe overlay redirect_dir=off
sudo systemctl restart docker
- name: run test
run: |
dir=$(pwd)
cd ${{matrix.node}}
docker build -t clearlinux/${{matrix.node}} .
cd $dir
if [ -d "./tests/${{matrix.node}}" ]; then cd tests; make ${{matrix.node}}; fi