Skip to content

ROX-31485: Add build and push image to repo (#10) #63

ROX-31485: Add build and push image to repo (#10)

ROX-31485: Add build and push image to repo (#10) #63

Workflow file for this run

name: Test
on:
push:
tags:
- '*'
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
- name: Download dependencies
run: go mod download
- name: Run tests with coverage
run: make test-coverage-and-junit
- name: Upload test results to Codecov
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
file: ./coverage.out
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false