Conversation
This reverts commit 5ba38b1.
Co-authored-by: Shargon <shargon@gmail.com>
|
I will review soon. Do not merge. |
| - name: Check Format (*.cs) | ||
| run: dotnet format --verify-no-changes --verbosity diagnostic | ||
|
|
||
| - name: Build (Neo.CLI) | ||
| run: | | ||
| dotnet build ./src/Neo.CLI \ | ||
| --output ./out/Neo.CLI |
There was a problem hiding this comment.
Just a side comment: it might be a good idea to split this job into Format and Build, because Format job itself does not block the Test job. And then Test job may be dependent only on Build job. It's just the way how it works for NeoGo actions, and sometimes it's useful because your code may have a lack of formatting and you'll get your test results anyway.
There was a problem hiding this comment.
This is a required step/job. That is why its linked to tests. Or else @shargon would have to make the build and format job required for PRs.
There was a problem hiding this comment.
I think it's fine, or it can be done in a different PR, if the format is wrong we get the error earlier
|
Coverage decreased (-3.0%) to 71.386% |
| <TargetFrameworks>netstandard2.1;net8.0</TargetFrameworks> | ||
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <PackageId>Neo.Cryptography.BLS12_381</PackageId> |
There was a problem hiding this comment.
Is this needed, what is this packageID need?
There was a problem hiding this comment.
is this package created here or elsewhere?
There was a problem hiding this comment.
I searched quickly here and found that packageId was more related to dependency.
There was a problem hiding this comment.
Its for nuget. The nuget filename and package name of the package.
| <IsPackable>false</IsPackable> | ||
| <IsTestProject>true</IsTestProject> | ||
| <WarningLevel>0</WarningLevel> | ||
| <CollectCoverage>true</CollectCoverage> |
There was a problem hiding this comment.
is this good? Because this is generic to any OS
There was a problem hiding this comment.
this enables for all tests. I don't know what you mean by generic to any OS. Does it work on all... yes.
switched back to |
* 'fix-3300' of github.com:Jim8y/neo: Fixed up `main.yml` (neo-project#3292) [Neo Core Style] Rename parameters, update comments, fix code style (neo-project#3294)
|
Why did you merge this PR? The coverage had problems and decreased. |
* master: Fix error when vc_redist is missing (neo-project#3293) Fixed up `main.yml` (neo-project#3292) [Neo Core Style] Rename parameters, update comments, fix code style (neo-project#3294)
Change Log
BaseOutputPathfor @vncoelhopluginsCoverallstoDirectory.Build.propsCoverallslcovformatNow all binary outputs will be at
$(SolutionDir)/bin/$(PackageId)Example
.\neo\bin\Neo\Debug\net8.0.\neo\bin\Neo.Plugins.ApplicationLogs\Debug\net8.0\Type of change
How Has This Been Tested?
Test Configuration:
Checklist: