Skip to content

Commit

Permalink
Merge pull request #47 from LuigimonSoft/LuigimonSoft-patch-1
Browse files Browse the repository at this point in the history
Create TestandDeploy.yml
  • Loading branch information
LuigimonSoft committed May 15, 2023
2 parents 980ef16 + cd45744 commit b26c104
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/TestandDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow will build, test, sign and package a WPF or Windows Forms desktop application
# built on .NET Core.
# To learn how to migrate your existing application to .NET Core,
# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework
#
# To configure this workflow:
#
# 1. Configure environment variables
# GitHub sets default environment variables for every workflow run.
# Replace the variables relative to your project in the "env" section below.
#


name: .NET Core Desktop

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]

jobs:

build:

strategy:
matrix:
configuration: [Debug, Release]

runs-on: ubuntu-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on

env:
Solution_Name: DapperEntityORM.sln # Replace with your solution name, i.e. MyWpfApp.sln.
Test_Project_Path: DapperEntityORM.csproj
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test

0 comments on commit b26c104

Please sign in to comment.