-
-
Notifications
You must be signed in to change notification settings - Fork 47
60 lines (54 loc) · 1.41 KB
/
production-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
51
52
53
54
55
56
57
58
59
60
name: Production Tests
on:
workflow_dispatch:
push:
paths-ignore:
- "**/*"
- "!.github/workflows/production-tests.yml"
branches:
- "main"
schedule:
- cron: '0 2 * * *'
jobs:
script:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
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 -UseProduction
working-directory: test
shell: pwsh
sourcegenerator:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
uses: ./.github/workflows/template-source-generator.yml
with:
os: ${{ matrix.os }}
msbuild:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: 🛒 Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0'
- name: 🛠️ Add Refitter.MSBuild package
run: dotnet add package Refitter.MSBuild --prerelease
working-directory: test/MSBuild
- name: 🛠️ Build MSBuild Test
run: dotnet build
working-directory: test/MSBuild