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