Merge branch 'master' into cluster-network-replace-pyomo
This commit is contained in:
commit
98ce64c1ad
17
.github/workflows/ci.yaml
vendored
17
.github/workflows/ci.yaml
vendored
@ -32,7 +32,14 @@ jobs:
|
|||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- macos-latest
|
- macos-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
|
inhouse:
|
||||||
|
- stable
|
||||||
|
- master
|
||||||
|
exclude:
|
||||||
|
- os: macos-latest
|
||||||
|
inhouse: master
|
||||||
|
- os: windows-latest
|
||||||
|
inhouse: master
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
@ -56,6 +63,11 @@ jobs:
|
|||||||
cache-environment: true
|
cache-environment: true
|
||||||
cache-downloads: true
|
cache-downloads: true
|
||||||
|
|
||||||
|
- name: Install inhouse packages
|
||||||
|
run: |
|
||||||
|
pip install git+https://github.com/PyPSA/atlite.git@master git+https://github.com/PyPSA/powerplantmatching.git@master git+https://github.com/PyPSA/linopy.git@master
|
||||||
|
if: ${{ matrix.inhouse }} == 'master'
|
||||||
|
|
||||||
- name: Set cache dates
|
- name: Set cache dates
|
||||||
run: |
|
run: |
|
||||||
echo "WEEK=$(date +'%Y%U')" >> $GITHUB_ENV
|
echo "WEEK=$(date +'%Y%U')" >> $GITHUB_ENV
|
||||||
@ -76,7 +88,7 @@ jobs:
|
|||||||
snakemake -call all --configfile config/test/config.perfect.yaml --rerun-triggers=mtime
|
snakemake -call all --configfile config/test/config.perfect.yaml --rerun-triggers=mtime
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4.3.0
|
||||||
with:
|
with:
|
||||||
name: resources-results
|
name: resources-results
|
||||||
path: |
|
path: |
|
||||||
@ -84,3 +96,4 @@ jobs:
|
|||||||
results
|
results
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
if: matrix.os == 'ubuntu' && matrix.inhouse == 'stable'
|
||||||
|
Loading…
Reference in New Issue
Block a user