Skip to content
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

Run tests on Windows and Ubuntu with Github Actions #143

Merged
merged 8 commits into from
Feb 15, 2021

Conversation

SvenMarcus
Copy link
Member

Should solve issue #142

env:
Solution_Name: eawx-build.sln # Replace with your solution name, i.e. MyWpfApp.sln.
Test_Project_Path: eawx-build-test/eawx-build-test.csproj # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the PetroglyphTools repository, the ACTIONS_ALLOW_UNSECURE_COMMANDS: true is not needed.
That could be down to the setup though (all dotnet, and no specific versions for the actions and 3.1.x for dotnet core)

- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
dotnet-version: 3.1.101
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use 3.1.x instead so it automatically uses the latest 3.1 version.


- name: Setup .NET Core SDK
uses: actions/[email protected]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a need for the specific version, otherwise you could just use actions/setup-dotnet@v1

@@ -85,4 +84,34 @@ jobs:
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason to run via msbuild and not dotnet build?

@gruenwaldlk gruenwaldlk merged commit a3e6504 into AlamoEngine-Tools:master Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants