Skip to content

Merge pull request #1 from davewalker5/medication-actions #15

Merge pull request #1 from davewalker5/medication-actions

Merge pull request #1 from davewalker5/medication-actions #15

Workflow file for this run

name: .NET Core CI Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.0.100
- name: Run unit tests and generate code coverage
run: dotnet test src/MedicineTracker.sln /p:CollectCoverage=true /p:CoverletOutput=coverage/ /p:CoverletOutputFormat=lcov
- name: Generage Coveralls code coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: src/MedicineTracker.Tests/coverage/coverage.info