Updated CI build for new version of code coverage definition
This commit is contained in:
@@ -6,9 +6,9 @@ variables:
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- publish
|
||||
- deploy
|
||||
|
||||
build:
|
||||
build_job:
|
||||
stage: build
|
||||
tags:
|
||||
- docker
|
||||
@@ -20,16 +20,22 @@ build:
|
||||
- artifacts/*.snupkg
|
||||
expire_in: 1 day
|
||||
|
||||
test:
|
||||
test_job:
|
||||
stage: test
|
||||
tags:
|
||||
- docker
|
||||
coverage: '/Total[^|]*\|[^|]*\|\s*([0-9.%]+)/'
|
||||
script:
|
||||
- dotnet test -c Release
|
||||
dependencies:
|
||||
- build_job
|
||||
|
||||
publish:
|
||||
stage: publish
|
||||
deploy_job:
|
||||
stage: deploy
|
||||
tags:
|
||||
- docker
|
||||
script:
|
||||
- dotnet nuget push -k $APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/*.nupkg
|
||||
dependencies:
|
||||
- build_job
|
||||
- test_job
|
||||
|
||||
@@ -5,7 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased](https://git.am-wd.de/AM.WD/common/compare/v1.6.1...master) - 0000-00-00
|
||||
_nothing changed yet_
|
||||
### Changed
|
||||
- `BasicAuthenticationAttribute` now respects the `IBasicAuthenticationValidator.Realm` when the own `Realm` property is not set.
|
||||
- CI scripts
|
||||
|
||||
### Removed
|
||||
- `IBasicAuthenticationValidator.Realm` is now a read-only property (removed public set).
|
||||
|
||||
|
||||
## [v1.6.1](https://git.am-wd.de/AM.WD/common/compare/v1.6.0...v1.6.1) - 2022-06-23
|
||||
|
||||
@@ -8,7 +8,6 @@ rmdir /S /Q artifacts
|
||||
mkdir artifacts
|
||||
|
||||
dotnet restore -v q
|
||||
:: dotnet tool restore -v q
|
||||
|
||||
cd "%~dp0"
|
||||
cd "AMWD.Common"
|
||||
@@ -50,4 +49,4 @@ powershell write-host -fore Blue Building AMWD.Common.Moq
|
||||
rmdir /S /Q bin
|
||||
dotnet build -c %Configuration% --nologo --no-incremental
|
||||
move bin\%Configuration%\*.nupkg ..\artifacts
|
||||
move bin\%Configuration%\*.snupkg ..\artifacts
|
||||
move bin\%Configuration%\*.snupkg ..\artifacts
|
||||
|
||||
Reference in New Issue
Block a user