0
0
RhSolutions-ML/.gitea/workflows/test.yaml
Serghei Cebotari 66563d80f0
All checks were successful
Test ML model / build (push) Successful in 1m1s
Delete ignore paths
2023-12-29 14:27:46 +03:00

30 lines
570 B
YAML

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