blob: 9845875f9b90d145bc896727b238df7a2135d230 (
plain)
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
|
name: Test ML model
on:
push:
branches:
- "master"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
volumes:
- rhsolutions-model:/output
steps:
- uses: actions/checkout@v3
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0'
- name: Restore packages
run: dotnet restore
- name: Build
run: dotnet build
- name: Test
run: dotnet test
- name: Deploy model
run: cp Models/model.zip /output
|