Skip to content

Commit

Permalink
Merge pull request #12893 from achilleasa/2.9-add-cla-checker-gh-acti…
Browse files Browse the repository at this point in the history
…on-and-remove-codecov

#12893

This PR adds a new GH action to check that contributors have accepted the CLA and removes an existing action for pushing code coverage metrics to codecov.io.
  • Loading branch information
jujubot authored Apr 19, 2021
2 parents c48a48a + 579f555 commit 2976859
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "CLA check"
on: [pull_request]
jobs:
cla-check:
runs-on: ubuntu-latest
steps:
- name: Check if CLA signed
uses: canonical/has-signed-canonical-cla@v1
with:
accept-existing-contributors: true
4 changes: 0 additions & 4 deletions .github/workflows/client-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,3 @@ jobs:
go test -v ./cmd/juju/... -check.v -coverprofile=coverage.txt -covermode=atomic
go test -v ./cmd/plugins/... -check.v
shell: bash

- name: Upload coverage to Codecov
if: (matrix.os == 'ubuntu-latest')
run: bash <(curl -s https://codecov.io/bash)

0 comments on commit 2976859

Please sign in to comment.