Skip to content

FEAT: Deployment status (#25) #24

FEAT: Deployment status (#25)

FEAT: Deployment status (#25) #24

Workflow file for this run

name: 🧪 Execute Tests
on:
pull_request:
branches:
- main
- develop
push:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code 🛎️
uses: actions/checkout@v2
- name: Set up Go 🧰
uses: actions/setup-go@v3
with:
go-version: 1.22.4
- name: Install dependencies ⏬
run: go mod tidy
- name: Run tests 🛠️
run: make test
- name: Report coverage 📈
run: go test -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov 📤
uses: codecov/codecov-action@v2
with:
files: coverage.out
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}