-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (37 loc) · 1.58 KB
/
smoke-tests.yml
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
name: DeepRVAT Pipeline tests
run-name: DeepRVAT Pipeline tests 🧬🧪💻🧑🔬
on: [ push ]
jobs:
Smoke-RunTraining:
call-workflow-in-local-repo:
uses: ./.github/workflows/run-pipeline.yml
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}