-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathintegration-tests-sqlserver.yml
More file actions
50 lines (44 loc) · 1.25 KB
/
integration-tests-sqlserver.yml
File metadata and controls
50 lines (44 loc) · 1.25 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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Integration Tests (MLOps.NET.SQLServer)
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'images/**'
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'images/**'
jobs:
integration-tests-sql-server:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-CU4-ubuntu-16.04
env:
ACCEPT_EULA: Y
SA_PASSWORD: MLOps4TheWin!
ports:
- 1433:1433
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
source-url: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: dotnet restore MLOps.NET.sln
- name: Build
run: dotnet build MLOps.NET.sln --configuration Release --no-restore
- name: Tests
run: dotnet test MLOps.NET.sln --configuration Release --no-restore --no-build --filter TestCategory=IntegrationTestSqlServer