-
Notifications
You must be signed in to change notification settings - Fork 41
31 lines (30 loc) · 871 Bytes
/
codecov.yml
File metadata and controls
31 lines (30 loc) · 871 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
#
# Copyright (c) 2019-2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
#
name: Code Coverage Report
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-22.04
steps:
- name: Set up Go 1.25
uses: actions/setup-go@v3
with:
go-version: 1.25.7
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Submit code coverage results
run: |
echo "" > coverage.txt
export CHE_WORKSPACE_ID=test_id; go test -v ./... -coverprofile coverage.txt
bash <(curl -s https://codecov.io/bash)