-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 1.16 KB
/
build.yml
File metadata and controls
37 lines (36 loc) · 1.16 KB
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
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up .NET
uses: actions/setup-dotnet@v3
- name: Build
run: docker build --target build .
- name: Test
run: docker build --target test .
integration-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 10.0.x
- name: Restore
run: dotnet restore test/StrEnum.Npgsql.EntityFrameworkCore.IntegrationTests/StrEnum.Npgsql.EntityFrameworkCore.IntegrationTests.csproj
- name: Build
run: dotnet build test/StrEnum.Npgsql.EntityFrameworkCore.IntegrationTests/StrEnum.Npgsql.EntityFrameworkCore.IntegrationTests.csproj -c Release --no-restore
- name: Test
run: dotnet test test/StrEnum.Npgsql.EntityFrameworkCore.IntegrationTests/StrEnum.Npgsql.EntityFrameworkCore.IntegrationTests.csproj -c Release --no-build --logger "console;verbosity=normal"