Run tests #23
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: 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 | tee edps.stdout.txt | |
! grep "'FAILED'" edps.stdout.txt |