-
Notifications
You must be signed in to change notification settings - Fork 106
39 lines (39 loc) · 999 Bytes
/
run_unit_tests.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
name: Run Unit Tests
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- ci_dev
- ci_prod
push:
branches:
- ci_dev
- ci_prod
jobs:
Golang-Tests:
runs-on: ubuntu-latest
steps:
- name: Setup Go 1.22.5
uses: actions/setup-go@v4
with:
go-version: '1.22.5'
- name: Check out repository code
uses: actions/checkout@v2
- name: Run unit tests
run: |
cd ${{ github.workspace }}
./test/unit-tests/run_go_tests.sh
Ruby-Tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: install fluent
run: |
sudo gem install fluentd -v "1.14.2" --no-document
sudo gem install ipaddress --no-document
sudo fluentd --setup ./fluent
- name: Run unit tests
run: |
cd ${{ github.workspace }}
./test/unit-tests/run_ruby_tests.sh