-
Notifications
You must be signed in to change notification settings - Fork 16
33 lines (28 loc) · 734 Bytes
/
pr.yml
File metadata and controls
33 lines (28 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build and test
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
build:
name: Build and test Lombok.NET
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Build
run: dotnet build -c Release
- name: Run tests
run: dotnet test Lombok.NET.Test/Lombok.NET.Test.csproj -c Release --no-build
- name: Upload Test Results
if: failure()
uses: actions/upload-artifact@v4
with:
name: verify-test-results
path: |
**/*.received.*