Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
update codedov configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Nov 9, 2024
1 parent 41a5a0c commit 4f4d99b
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/ci-build-and-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,24 @@ jobs:
with:
go-version: 1.23.2

# Install Ginkgo CLI
- name: Install Ginkgo CLI
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest

- name: Install dependencies
run: go mod tidy

- name: Install Ginkgo CLI
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest

- name: Run tests
run: make test

- name: Upload test results to Codecov
if: always()
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Download Codecov uploader
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
- name: Upload coverage to Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: ./codecov -f coverage.txt -t $CODECOV_TOKEN

dev-container-build:
permissions:
Expand All @@ -44,4 +47,4 @@ jobs:
context: .
name: cosi
namespace: ${{ github.repository_owner }}
tag: ${{ github.sha }}
tag: ${{ github.sha }}

0 comments on commit 4f4d99b

Please sign in to comment.