test.sh: add scenarios dry-run to test cases
This commit is contained in:
parent
1c0daf826c
commit
8e04b7a157
@ -97,6 +97,8 @@ rule all:
|
||||
rule create_scenarios:
|
||||
output:
|
||||
config["run"]["scenarios"]["file"],
|
||||
conda:
|
||||
"envs/retrieve.yaml"
|
||||
script:
|
||||
"config/create_scenarios.py"
|
||||
|
||||
|
@ -10,7 +10,7 @@ run:
|
||||
- test-elec-no-onshore-wind
|
||||
scenarios:
|
||||
enable: true
|
||||
file: "config/test/scenarios.electricity.yaml"
|
||||
file: "config/test/scenarios.yaml"
|
||||
disable_progressbar: true
|
||||
shared_resources: base
|
||||
shared_cutouts: true
|
3
test.sh
3
test.sh
@ -5,4 +5,5 @@
|
||||
snakemake -call solve_elec_networks --configfile config/test/config.electricity.yaml --rerun-triggers=mtime && \
|
||||
snakemake -call all --configfile config/test/config.overnight.yaml --rerun-triggers=mtime && \
|
||||
snakemake -call all --configfile config/test/config.myopic.yaml --rerun-triggers=mtime && \
|
||||
snakemake -call all --configfile config/test/config.perfect.yaml --rerun-triggers=mtime
|
||||
snakemake -call all --configfile config/test/config.perfect.yaml --rerun-triggers=mtime && \
|
||||
snakemake -call all --configfile config/test/config.scenarios.yaml --rerun-triggers=mtime -n && \
|
||||
|
Loading…
Reference in New Issue
Block a user