Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gislikonrad authored Sep 24, 2021
1 parent 76396aa commit 41a4f72
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: test
on:
push:
paths:
- ".github/**/*.*"
- "src/**/*.*"
pull_request:
types: [assigned, opened, synchronize, reopened]
env:
DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX: '2'
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: setup_dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.200

- name: install_dependencies
run: dotnet restore ./src

- name: build
run: dotnet build ./src --configuration Release --no-restore

- name: test
run: dotnet test ./src --configuration Release --no-restore --no-build

0 comments on commit 41a4f72

Please sign in to comment.