Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added proliminary iteration of generating test coverage reports #389

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/controller_unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: Controller Unit Tests
on:
push:
branches:
- '2.0-development'
- "main"
pull_request:
branches:
- '2.0-development'

- "main"

jobs:
build:
Expand Down Expand Up @@ -39,4 +38,9 @@ jobs:
- name: Test with pytest
working-directory: ./oidc-controller
run: |
pytest --log-cli-level=INFO
pytest --log-cli-level=INFO --cov --cov-report lcov
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: coverage.lcov
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)

[![unit-tests](https://github.com/bcgov/vc-authn-oidc/actions/workflows/controller_unittests.yml/badge.svg?branch=2.0-development&event=push)](https://github.com/bcgov/vc-authn-oidc/actions/workflows/controller_unittests.yml)
[![Coverage Status](https://coveralls.io/repos/github/bcgov/vc-authn-oidc/badge.svg?branch=main)](https://coveralls.io/repos/github/bcgov/vc-authn-oidc/badge.svg?branch=main)

# Verifiable Credential Authentication with OpenID Connect (VC-AuthN OIDC)

Expand Down Expand Up @@ -149,4 +150,4 @@ This is a sample debugger launch configuration for VSCode that can be used by ad
}
]
}
```
```
Loading