Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
name: CI

on: [push]
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 5 * * 0"
workflow_dispatch:


# Cancel any in-progress runs when a new run is triggered
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
Expand All @@ -15,10 +30,17 @@ jobs:
init-shell: bash
cache-environment: true
cache-downloads: true
- name: Test snakemake workflow
- name: Run unit tests
run: |
python -m pytest test
- name: Test snakemake workflow for compile_cost_assumptions
shell: bash -l {0}
run: |
snakemake --cores all -f compile_cost_assumptions
- name: Test snakemake workflow for compile_cost_assumptions_usa
shell: bash -l {0}
run: |
snakemake --cores all -f compile_cost_assumptions_usa
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Upcoming Release
.. The features listed below are not released yet, but will be part of the next release!
.. To use the features already you have to use the ``master`` branch.

* Include unit test execution and compile_cost_assumptions_usa.py in ci.yaml (https://github.com/PyPSA/technology-data/pull/174)

`v0.11.0 <https://github.com/PyPSA/technology-data/releases/tag/v0.11.0>`__ (24th January 2025)
=======================================================================================

Expand Down
Loading