Skip to content

Commit

Permalink
[TEST] add yml for github action and PR tests (#2173)
Browse files Browse the repository at this point in the history
* add yml for github action and PR tests

* add net 6
  • Loading branch information
jennyf19 authored Jul 27, 2023
1 parent fe24a61 commit 31d60d5
Showing 1 changed file with 40 additions and 0 deletions.
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

0 comments on commit 31d60d5

Please sign in to comment.