BAH-3773 | Add. link patient abha identifier after successful linking #1286
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Code Coverage Check | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup dotnet core '6.0.401' | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.401' | |
- name: Build with dotnet | |
run: dotnet build hip-service.sln | |
- name: Run unit tests | |
run: dotnet test hip-service.sln | |
- name: Set env | |
run: echo "name=RELEASE_VERSION::$(echo $GITHUB_SHA | head -c7)" >> $GITHUB_ENV | |
- name: Test coverage | |
run: dotnet test test/In.ProjectEKA.HipServiceTest/In.ProjectEKA.HipServiceTest.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover | |
- name: Publish to Codecov | |
run: bash <(curl -s https://codecov.io/bash) |