Fix appveyor configuration generation #290
Annotations
4 errors and 2 warnings
Run: Test, Pack
[xUnit.net 00:00:00.76] Nuke.Common.Tests.CI.ConfigurationGenerationTest.Test(testName: null, attribute: TestAppVeyorAttribute { AutoGenerate = True, BranchesExcept = ["except_branch"], BranchesOnly = ["only_branch"], Build = null, Cache = [], ··· }) [FAIL]
|
Run: Test, Pack
VerifyException : Directory: /home/runner/work/nuke/nuke/source/Nuke.Common.Tests/CI
NotEqual:
- Received: ConfigurationGenerationTest.Test_testName=null_attribute=AppVeyorAttribute.received.txt
Verified: ConfigurationGenerationTest.Test_testName=null_attribute=AppVeyorAttribute.verified.txt
FileContent:
NotEqual:
Received: ConfigurationGenerationTest.Test_testName=null_attribute=AppVeyorAttribute.received.txt
Verified: ConfigurationGenerationTest.Test_testName=null_attribute=AppVeyorAttribute.verified.txt
Compare Result:
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [TestAppVeyor (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration AppVeyor --host AppVeyor
#
# </auto-generated>
# ------------------------------------------------------------------------------
image:
- Ubuntu
- Visual Studio 2022
branches:
only:
- only_branch
except:
- except_branch
skip_tags: true
skip_branch_with_pr: true
install:
- git submodule update --init --recursive
build_script:
- cmd: .\build.cmd Test
- sh: ./build.cmd Test
artifacts:
- - path: src/*/obj/**
- - path: src/*/bin/**
- - path: output/test-results/*.trx
- - path: output/test-results/*.xml
+ - path: 'src/*/obj/**'
+ - path: 'src/*/bin/**'
+ - path: 'output/test-results/*.trx'
+ - path: 'output/test-results/*.xml'
- path: output/coverage-report.zip
environment:
GitHubToken:
secure: encrypted-yaml
|
Run: Test, Pack
Target "Test" has thrown an exception
|
Run: Test, Pack
Process completed with exit code 255.
|
Run: Test, Pack
/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs(23,14): warning RS1036: 'Nuke.SourceGenerators.StronglyTypedSolutionGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>' [/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/Nuke.SourceGenerators.csproj]
|
Run: Test, Pack
/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/StronglyTypedSolutionGenerator.cs(23,14): warning RS1036: 'Nuke.SourceGenerators.StronglyTypedSolutionGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>' [/home/runner/work/nuke/nuke/source/Nuke.SourceGenerators/Nuke.SourceGenerators.csproj]
|
The logs for this run have expired and are no longer available.
Loading