Skip to content

Commit 51b4c64

Browse files
author
Michaël Catanzariti
authored
Create BuildAndTest.yml
1 parent 834e4e3 commit 51b4c64

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/BuildAndTest.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
paths:
6+
- 'src/**'
7+
- '.github/workflows/**'
8+
branches:
9+
- '**'
10+
tags-ignore:
11+
- '*.*.*'
12+
pull_request:
13+
paths:
14+
- 'src/**'
15+
- '.github/workflows/**'
16+
branches:
17+
- '**'
18+
tags-ignore:
19+
- '*.*.*'
20+
jobs:
21+
build:
22+
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: checkout
27+
uses: actions/checkout@v1
28+
29+
- name: setup
30+
uses: actions/setup-dotnet@v1
31+
with:
32+
dotnet-version: 2.2.108
33+
34+
- name: build
35+
run: dotnet build -c Release src/Dahomey.ExpressionEvaluator
36+
37+
- name: test
38+
run: dotnet test -c Release src/Dahomey.ExpressionEvaluator.Tests

0 commit comments

Comments
 (0)