Merge pull request #104 from swisstopo/LGVISIUM-79/refactor-layers-ob… #496
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |