Remove coverage push to codecov, as we no longer have access to secrets

This commit is contained in:
Marius Orcsik 2022-10-30 10:15:45 +01:00
parent e4e7018838
commit e2b6e01b27
No known key found for this signature in database
GPG key ID: 35D8720425890EF7
2 changed files with 1 additions and 10 deletions

View file

@ -1,6 +1,4 @@
image: archlinux
secrets:
- 72c9ab0b-ed5f-4291-bab7-30b361be94a6
packages:
- go
sources:
@ -15,10 +13,3 @@ tasks:
- coverage: |
set -a +x
cd activitypub && make coverage
GIT_SHA=$(git rev-parse --verify HEAD)
GIT_BRANCH=$(git name-rev --name-only HEAD)
source ~/.code-cov.sh
curl -X POST \
--data-binary @activitypub.coverprofile \
-H 'Accept: application/json' \
"https://codecov.io/upload/v2?commit=${GIT_SHA}&token=${PUB_TOKEN}&branch=${GIT_BRANCH}&service=custom" || true

2
go.mod
View file

@ -5,6 +5,6 @@ go 1.18
require (
git.sr.ht/~mariusor/go-xsd-duration v0.0.0-20220703122237-02e73435a078
github.com/go-ap/errors v0.0.0-20220917143055-4283ea5dae18
github.com/go-ap/jsonld v0.0.0-20220917142617-76bf51585778
github.com/go-ap/jsonld v0.0.0-20221030091449-f2a191312c73
github.com/valyala/fastjson v1.6.3
)