Skip to content

Commit

Permalink
Add pipeline run to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
redur committed Apr 4, 2024
1 parent 269b7e9 commit 2a98b6b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pipeline_run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: pipeline_run

on:
pull_request:
push:
branches: [main]

jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Environment and run pipeline
shell: bash
run: |
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3.sh -b -p "${HOME}/conda"
source "${HOME}/conda/etc/profile.d/conda.sh"
conda init --all
source "${HOME}/.bash_profile"
conda env create -f environment-prod.yml
conda activate boreholes-prod
boreholes-extract-layers -l -i example/example_borehole_profile.pdf -o example/ -p example/predictions.json
Binary file added example/example_borehole_profile.pdf
Binary file not shown.

0 comments on commit 2a98b6b

Please sign in to comment.