-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (44 loc) · 1.54 KB
/
run_edps.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Run EDPS
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
# Run every day at 2:00 UTC
- cron: "0 2 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo ./toolbox/install_dependencies_ubuntu.sh
# python3 -m venv metispipe
# . metispipe/bin/activate
export PYCPL_RECIPE_DIR="$(pwd)/metisp/pyrecipes/"
./toolbox/install_edps.sh
./toolbox/create_config.sh
- name: Fetch test data
run: |
git clone https://github.com/AstarVienna/METIS_Pipeline_Test_Data.git
- name: Run EDPS
run: |
# . metispipe/bin/activate
export PYESOREX_PLUGIN_DIR="$(pwd)/metisp/pyrecipes/"
export PYCPL_RECIPE_DIR="$(pwd)/metisp/pyrecipes/"
export PYTHONPATH="$(pwd)/metisp/pymetis/src/"
export SOF_DATA="$(pwd)/METIS_Pipeline_Test_Data/metis_sim_small_1/data"
export SOF_DIR="$(pwd)/METIS_Pipeline_Test_Data/metis_sim_small_1/sof"
pyesorex --recipes
pyesorex metis_det_lingain "${SOF_DIR}/metis_lm_lingain.sof"
edps -lw
edps -w metis.metis_lm_img_wkf -i $SOF_DATA -c
# edps -w metis.metis_lm_img_wkf -i $SOF_DATA -t metis_det_lingain
edps -w metis.metis_lm_img_wkf -i $SOF_DATA -t metis_det_detlin
edps -w metis.metis_lm_img_wkf -i $SOF_DATA