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

[TEST] add yml for github action and PR tests #2173

Merged
merged 2 commits into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: .NET Core

on:
push:
branches:
- dev7x
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- dev7x

env:
TargetNet8: True

jobs:
build:
runs-on: windows-latest
continue-on-error: true
name: Wilson GitHub Action Test
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup .NET 6.0.301
uses: actions/[email protected]
with:
dotnet-version: 6.0.301
- name: Setup .NET 8.0.x
uses: actions/[email protected]
with:
dotnet-version: 8.0.100-preview.6.23330.14

# Build and test
- name: Restore packages
run: dotnet restore Wilson.sln
- name: Run the tests
run: dotnet test Wilson.sln