-
Notifications
You must be signed in to change notification settings - Fork 61
34 lines (27 loc) · 870 Bytes
/
coverage.yml
File metadata and controls
34 lines (27 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Code Coverage
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * 5'
permissions:
contents: read
packages: read
jobs:
cover:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
submodules: 'true'
- name: Restore dependencies
run: |
nuget sources add -username Open-Systems-Pharmacology -password ${{ secrets.GITHUB_TOKEN }} -name OSP-GitHub-Packages -source "https://nuget.pkg.github.com/Open-Systems-Pharmacology/index.json"
nuget restore
- name: Build
run: dotnet build PKSim.sln /p:Version=12.3.9999
- name: Cover and report
uses: Open-Systems-Pharmacology/Workflows/.github/actions/dotCover@main
with:
xml-configuration: dotcover.xml
token: ${{ secrets.CODECOV_TOKEN }}