From 3b48a256ffa05ca9754e1210d66f2c5895910737 Mon Sep 17 00:00:00 2001 From: Magnus Wahlberg Date: Fri, 17 May 2024 11:37:49 +0200 Subject: [PATCH] Update smoke-tests.yml --- .github/workflows/smoke-tests.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index ab54dff5..74adc260 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -13,16 +13,13 @@ jobs: python -m snakemake -n -j 2 --directory ./example \ --snakefile ./pipelines/run_training.snakefile --show-failed-logs - -# Pipeline-Tests-RunTraining: -# needs: Smoke-RunTraining -# steps: -# uses: ./.github/workflows/run-pipeline.yml -# with: -# environment_file: ./deeprvat_env_no_gpu.yml -# name: Run run_training pipeline -# # There are no GPUs on the gh worker, so we disable it in the config -# prerun_cmd: "sed -i 's/gpus: 1/gpus: 0/' ./example/config.yaml" -# pipeline_cmd: | -# python -m snakemake -j 2 --directory ${{ github.workspace }}/example \ -# --snakefile ${{ github.workspace }}/pipelines/run_training.snakefile --show-failed-logs -F + Pipeline-Tests-RunTraining: + uses: ./.github/workflows/run-pipeline.yml + with: + environment_file: ./deeprvat_env_no_gpu.yml + name: Run run_training pipeline + # There are no GPUs on the gh worker, so we disable it in the config + prerun_cmd: "sed -i 's/gpus: 1/gpus: 0/' ./example/config.yaml" + pipeline_cmd: | + python -m snakemake -j 2 --directory ${{ github.workspace }}/example \ + --snakefile ${{ github.workspace }}/pipelines/run_training.snakefile --show-failed-logs -F \ No newline at end of file