-
-
Notifications
You must be signed in to change notification settings - Fork 18
49 lines (42 loc) · 889 Bytes
/
test.yml
File metadata and controls
49 lines (42 loc) · 889 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Tests
on:
workflow_dispatch:
inputs:
version:
description: "Version number (leave empty for auto)"
required: false
type: string
pull_request:
branches:
- main
push:
branches:
- main
paths-ignore:
- "README.md"
- ".github/**"
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: true
jobs:
test:
name: test
runs-on: ubuntu-latest
defaults:
run:
shell: pwsh
steps:
- name: Show Inputs
run: |
echo "Inputs: ${{ toJSON(github.event.inputs) }}"
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 1
clean: true
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "10.0.x"
- name: Run Tests
run: dotnet test -c Release