Skip to content

Health Check

Health Check #55221

Workflow file for this run

name: Health Check
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '*/30 * * * *'
jobs:
build:
name: From Scratch Test
runs-on: ubuntu-latest
steps:
- name: Prepare
uses: actions/setup-go@v3
with:
go-version: '1.20'
id: go
- name: Checkout
uses: actions/checkout@v3
- name: Install dynamic dependencies
run: |
wget https://github.com/zeromq/libzmq/releases/download/v4.3.1/zeromq-4.3.1.tar.gz -O /tmp/zeromq.tar.gz
tar -xzvf /tmp/zeromq.tar.gz -C /tmp && cd /tmp/zeromq-* && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_CURVE=ON .. && make && sudo make install
- name: Install static dependencies (import)
env:
GO111MODULE: on
working-directory: services/fio-bco-import
run: |
go mod verify
go mod tidy
go mod vendor
- name: Install static dependencies (rest)
env:
GO111MODULE: on
working-directory: services/fio-bco-rest
run: |
go mod verify
go mod tidy
go mod vendor
- name: Unit Test (import)
working-directory: services/fio-bco-import
run: |
go test -v ./... -timeout=10s
- name: Unit Test (rest)
working-directory: services/fio-bco-rest
run: |
go test -v ./... -timeout=10s