-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (31 loc) · 1.07 KB
/
test_on_push.yaml
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
name: Build and Test
on:
push:
branches:
- master
- '**-support'
paths-ignore:
- LICENCE
- README.md
- .gitignore
- AuthoringTool/electron.manifest.json
pull_request:
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
dotnet-version: ['8.x']
runs-on: ${{ matrix.os }}
name: Build and Test on ${{ matrix.os }} with .NET Core ${{ matrix.dotnet-version }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- run: dotnet restore
# - run: dotnet build --configuration Debug --no-restore # TODO: breaks Metalama in 2024.2.8-preview, reintroduce after fixed
# still broken in 2024.2.19
- run: dotnet test --configuration Release --no-restore