ML/.github/workflows/VerifyModelOperational.yml
2023-09-10 16:24:33 +01:00

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