-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (41 loc) · 1013 Bytes
/
CI.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: CI
on:
push:
branches:
- main
- develop
tags-ignore:
- '*'
paths-ignore:
- LICENSE
- 'CHANGELOG.md'
- 'README.md'
pull_request:
tags-ignore:
- '*'
paths-ignore:
- LICENSE
- 'CHANGELOG.md'
- 'README.md'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Build & test
run: |
dotnet nuget update source PackSite --configfile ./src/NuGet.config -u ${{ secrets.GPR_OWNER }} -p ${{secrets.GPR_TOKEN }} --store-password-in-clear-text
dotnet test src/PackSite.Library.StringUnformatter.sln --configuration Release
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./src/**/Coverage.xml