-
-
Notifications
You must be signed in to change notification settings - Fork 48
50 lines (46 loc) · 1.3 KB
/
smoke-tests.yml
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
50
name: Smoke Tests
on:
workflow_dispatch:
push:
paths-ignore:
- "**/*"
- '!src/Refitter/**/*.cs'
- '!src/Refitter.Core/**/*.cs'
- '!src/Refitter.SourceGenerator/**/*.cs'
- '!src/Refitter/**/*.csproj'
- '!src/Refitter.Core/**/*.csproj'
- '!src/Refitter.SourceGenerator/**/*.csproj'
- "!.github/workflows/template.yml"
- "!.github/workflows/template-url.yml"
- "!.github/workflows/smoke-tests.yml"
- "!test/smoke-tests.ps1"
branches:
- "main"
pull_request:
paths-ignore:
- "**/*"
- '!src/Refitter/**/*.cs'
- '!src/Refitter.Core/**/*.cs'
- '!src/Refitter.SourceGenerator/**/*.cs'
- '!src/Refitter/**/*.csproj'
- '!src/Refitter.Core/**/*.csproj'
- '!src/Refitter.SourceGenerator/**/*.csproj'
- "!.github/workflows/template.yml"
- "!.github/workflows/template-url.yml"
- "!.github/workflows/smoke-tests.yml"
- "!test/smoke-tests.ps1"
branches:
- "*"
jobs:
script:
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0'
- name: 🛠️ Run smoke test script
run: ./smoke-tests.ps1
working-directory: test
shell: pwsh