Skip to content

Commit

Permalink
Merge pull request #904 from PyPSA/ci-add-master-versions
Browse files Browse the repository at this point in the history
Ci add inhouse master versions
  • Loading branch information
FabianHofmann committed Jan 31, 2024
2 parents cb00f42 + df2296c commit 1502dc2
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest

inhouse:
- stable
- master
exclude:
- os: macos-latest
inhouse: master
- os: windows-latest
inhouse: master
runs-on: ${{ matrix.os }}

defaults:
Expand Down Expand Up @@ -66,6 +73,11 @@ jobs:
cache-environment: 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
run: |
echo "WEEK=$(date +'%Y%U')" >> $GITHUB_ENV
Expand All @@ -86,11 +98,12 @@ jobs:
snakemake -call all --configfile config/test/config.perfect.yaml --rerun-triggers=mtime
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.0
with:
name: resources-results
path: |
resources
results
if-no-files-found: warn
retention-days: 1
if: matrix.os == 'ubuntu' && matrix.inhouse == 'stable'

0 comments on commit 1502dc2

Please sign in to comment.