From 47a65f07f3f3993a46ce8f5b15120e3327797a47 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Thu, 9 Mar 2023 12:01:19 +0100 Subject: [PATCH] ci: add --rerun-triggers=mtime to improve caching --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 18149c02..b86aa6ab 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -103,9 +103,9 @@ jobs: run: | conda activate pypsa-eur conda list - snakemake -call solve_all_elec_networks --configfile test/config.test1.yaml - snakemake -call all --configfile test/config.overnight.yaml - snakemake -call all --configfile test/config.myopic.yaml + snakemake -call solve_all_elec_networks --configfile test/config.test1.yaml --rerun-triggers=mtime + snakemake -call all --configfile test/config.overnight.yaml --rerun-triggers=mtime + snakemake -call all --configfile test/config.myopic.yaml --rerun-triggers=mtime - name: Upload artifacts uses: actions/upload-artifact@v3