-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 847 Bytes
/
test.yml
File metadata and controls
35 lines (27 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Tests
on:
push:
branches: [ main, feature/* ]
pull_request:
branches: [ main ]
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Download Dependencies
run: go mod download
- name: Run Tests
run: go test -v ./... -v -race -coverprofile=coverage.out
- name: Upload Coverage Report
uses: codecov/codecov-action@v5
with:
files: coverage.out
flags: unittests
name: codecov-umbrella