Skip to content

Commit

Permalink
move codecov to circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Tantalor93 committed Nov 26, 2024
1 parent 99c4643 commit ca4e820
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1
orbs:
codecov: codecov/codecov@5.0.3
jobs:
build:
working_directory: ~/repo
docker:
- image: cimg/go:1.21
- image: cimg/go:1.22
steps:
- checkout
- restore_cache:
Expand All @@ -21,7 +23,8 @@ jobs:
name: Run tests
command: |
mkdir -p /tmp/test-reports
gotestsum --junitfile /tmp/test-reports/unit-tests.xml -- -json -race ./...
gotestsum --junitfile /tmp/test-reports/unit-tests.xml -- -coverprofile=coverage.out -covermode=atomic -json -race ./...
- codecov/upload
- store_artifacts:
path: /tmp/test-reports
- store_test_results:
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/go.coverage.yml

This file was deleted.

0 comments on commit ca4e820

Please sign in to comment.