Updated CI build for new version of code coverage definition
This commit is contained in:
@@ -6,9 +6,9 @@ variables:
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- publish
|
- deploy
|
||||||
|
|
||||||
build:
|
build_job:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
@@ -20,16 +20,22 @@ build:
|
|||||||
- artifacts/*.snupkg
|
- artifacts/*.snupkg
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
|
|
||||||
test:
|
test_job:
|
||||||
stage: test
|
stage: test
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
coverage: '/Total[^|]*\|[^|]*\|\s*([0-9.%]+)/'
|
||||||
script:
|
script:
|
||||||
- dotnet test -c Release
|
- dotnet test -c Release
|
||||||
|
dependencies:
|
||||||
|
- build_job
|
||||||
|
|
||||||
publish:
|
deploy_job:
|
||||||
stage: publish
|
stage: deploy
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
script:
|
script:
|
||||||
- dotnet nuget push -k $APIKEY -s https://nuget.am-wd.de/v3/index.json --skip-duplicate artifacts/*.nupkg
|
- 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).
|
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
|
## [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
|
## [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
|
mkdir artifacts
|
||||||
|
|
||||||
dotnet restore -v q
|
dotnet restore -v q
|
||||||
:: dotnet tool restore -v q
|
|
||||||
|
|
||||||
cd "%~dp0"
|
cd "%~dp0"
|
||||||
cd "AMWD.Common"
|
cd "AMWD.Common"
|
||||||
@@ -50,4 +49,4 @@ powershell write-host -fore Blue Building AMWD.Common.Moq
|
|||||||
rmdir /S /Q bin
|
rmdir /S /Q bin
|
||||||
dotnet build -c %Configuration% --nologo --no-incremental
|
dotnet build -c %Configuration% --nologo --no-incremental
|
||||||
move bin\%Configuration%\*.nupkg ..\artifacts
|
move bin\%Configuration%\*.nupkg ..\artifacts
|
||||||
move bin\%Configuration%\*.snupkg ..\artifacts
|
move bin\%Configuration%\*.snupkg ..\artifacts
|
||||||
|
|||||||
Reference in New Issue
Block a user