mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
27 lines
562 B
YAML
27 lines
562 B
YAML
name: Build and test model using a dummy prediction pipeline
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Build the Docker image
|
|
run: |
|
|
cd modules/ml-pipeline/src/pipeline/
|
|
|
|
pip install --upgrade pip
|
|
pip install -r src/requirements/predictions/requirements-dev.txt
|
|
|
|
dvc pull
|
|
|
|
docker build . --file Prediction.Dockerfile --tag prediction_test
|
|
docker run prediction_test
|