name: Run Unit Tests
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- ci_dev
- ci_prod
push:
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:
- name: install fluent
sudo gem install fluentd -v "1.14.2" --no-document
sudo gem install ipaddress --no-document
sudo fluentd --setup ./fluent
./test/unit-tests/run_ruby_tests.sh