Skip to content

Create reusable workflow #1

Create reusable workflow

Create reusable workflow #1

Workflow file for this run

name: DeepRVAT Pipeline tests
run-name: DeepRVAT Pipeline tests 🧬🧪💻🧑‍🔬
on: [ push ]
jobs:
Smoke-RunTraining:
uses: /.github/workflow/run-pipeline.yml

Check failure on line 7 in .github/workflows/smoke-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/smoke-tests.yml

Invalid workflow file

invalid value workflow reference: no version specified
with:
environment-file: ${{ github.workspace }}/deeprvat_env_no_gpu.yml
name: Smoke-RunTraining
pipeline_cmd: |
python -m snakemake -n -j 2 --directory ${{ github.workspace }}/example \
--snakefile ${{ github.workspace }}/pipelines/run_training.snakefile --show-failed-logs
# Pipeline-Tests-RunTraining:
# runs-on: ubuntu-latest
# needs: Smoke-RunTraining
# steps:
# - name: Check out repository code
# uses: actions/checkout@v4
# - uses: mamba-org/[email protected]
# with:
# environment-name: deeprvat-gh-action
# environment-file: ${{ github.workspace }}/deeprvat_env_no_gpu.yml
# cache-environment: true
# cache-downloads: true
# - name: Install DeepRVAT
# run: pip install -e ${{ github.workspace }}
# shell: micromamba-shell {0}
# # There are no GPUs on the gh worker, so we disable it in the config
# - name: Update config to use no gpus
# run: "sed -i 's/gpus: 1/gpus: 0/' ${{ github.workspace }}/example/config.yaml"
# shell: bash -el {0}
# - name: Run run_training pipeline
# run: |
# python -m snakemake -j 2 --directory ${{ github.workspace }}/example \
# --snakefile ${{ github.workspace }}/pipelines/run_training.snakefile --show-failed-logs -F
# shell: micromamba-shell {0}