-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TEST] add yml for github action and PR tests (#2173)
* add yml for github action and PR tests * add net 6
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |