Skip to content

Merge pull request #104 from swisstopo/LGVISIUM-79/refactor-layers-ob… #496

Merge pull request #104 from swisstopo/LGVISIUM-79/refactor-layers-ob…

Merge pull request #104 from swisstopo/LGVISIUM-79/refactor-layers-ob… #496

Workflow file for this run

name: pipeline_run
on:
pull_request:
push:
branches: [main]
jobs:
pipeline_run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Create Environment and run pipeline
shell: bash
run: |
python -m pip install --upgrade pip
python -m venv env
source env/bin/activate
pip install -e .
echo "Running pipeline"
boreholes-extract-all -l -i example/example_borehole_profile.pdf -o example/ -p example/predictions.json -m example/metadata.json -g example/example_groundtruth.json -pa all
echo "Running scoring script"
boreholes-score --ground-truth-path example/example_groundtruth.json --predictions-path example/predictions.json --no-mlflow-tracking