Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Emerson Brito committed Feb 23, 2023
2 parents 7d390d3 + ecc284f commit 8e8ff67
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: build and test

on:
workflow_dispatch:
pull_request:
branches: [ main ]
paths:
- '**.cs'
- '**.csproj'

jobs:
build-and-test:

runs-on: ubuntu-latest
defaults:
run:
working-directory: src/

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build EmBrito.Dataverse.Extensions.ClientFactory.sln --configuration Release --no-restore

- name: Test
run: dotnet test --configuration Release --no-build --no-restore --verbosity normal

0 comments on commit 8e8ff67

Please sign in to comment.