Skip to content

AG-25 - Enrich Heartbeat Payload #138

AG-25 - Enrich Heartbeat Payload

AG-25 - Enrich Heartbeat Payload #138

Workflow file for this run

# Copyright (c) Abstract Machines
# SPDX-License-Identifier: Apache-2.0
name: CI Pipeline
on:
push:
branches: [main]
paths-ignore:
- "**/*.md"
- "docs/**"
- "LICENSE"
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-build:
uses: ./.github/workflows/lint-and-build.yaml
tests:
name: Run tests
runs-on: ubuntu-latest
needs: lint-and-build
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
cache: npm
cache-dependency-path: ui/package-lock.json
- name: Build UI
run: make ui_prod
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: "go.sum"
- name: Run tests
run: go test -v --race -covermode=atomic -coverprofile cover.out ./...