-
Notifications
You must be signed in to change notification settings - Fork 20
chore: Fix and Reconfigure GitHub Actions #319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
35d7921
05c59f9
c78e858
c5e07ac
7f30fe5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
though it should be rename maybe.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ jobs: | |
- name: Restore NuGet packages | ||
run: nuget restore ./OptimizelySDK.Travis.sln | ||
- name: Build solution | ||
run: msbuild /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(pwd)/keypair.snk /p:Configuration=Release ./OptimizelySDK.sln | ||
run: msbuild /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=$(pwd)/keypair.snk /p:Configuration=Release ./OptimizelySDK.Travis.sln | ||
- name: Install NUnit Console | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please move it before running msbuild. SO all setups can be seen together. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure. That makes sense. I intended to only execute installations before they were needed in case of failure. eg If build failed, no need to install NUnit. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤔 Thinking more on this… I'd like to think green and code sustainably here. By performing the installation only if and just before it's needed, we're reducing the amount of resources (albeit small) being used on a potentially unnecessary step. If you feel strongly over this re-ordering, please DM me on Teams, and I'll roll it into another PR. |
||
run: nuget install NUnit.Console -Version 3.15.2 -DirectDownload -OutputDirectory . | ||
- name: Run NUnit tests | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please run OptimizelySDK.sln instead of OptimizelySDK.Travis.sln
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
OptimizelySDK.Travis.sln
does not include the demo app OptimizelySDK.DemoApp.csproj which has build errors.I'm guessing the demo app was not needed, so someone created the Travis version.
In later sprints, I think we should fix or remove the demo app.
It's likely safe to continue to build the Travis solution instead.