From 6157219fcdd9d1acae8b1fcbcdc9753f47bafc01 Mon Sep 17 00:00:00 2001 From: mschwoerer <82171591+mschwoer@users.noreply.github.com> Date: Tue, 28 Jan 2025 10:40:09 +0100 Subject: [PATCH 1/2] runs tests nightly --- .github/workflows/pip_installation.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pip_installation.yml b/.github/workflows/pip_installation.yml index fac121ae..7d8e002f 100644 --- a/.github/workflows/pip_installation.yml +++ b/.github/workflows/pip_installation.yml @@ -8,6 +8,8 @@ on: push: branches: [ main ] + schedule: + - cron: "0 0 * * *" # daily at midnight, to get feedback on the loose version workflow_dispatch: name: Pip install + unit tests From 74e87f0d33fc65053c65ba7fb37b922274f35b5c Mon Sep 17 00:00:00 2001 From: mschwoerer <82171591+mschwoer@users.noreply.github.com> Date: Tue, 28 Jan 2025 10:40:14 +0100 Subject: [PATCH 2/2] add a comment --- misc/pip_install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/pip_install.sh b/misc/pip_install.sh index d5b29407..624876bb 100644 --- a/misc/pip_install.sh +++ b/misc/pip_install.sh @@ -1,3 +1,8 @@ +#!/bin/bash +### Install the package with a given type in a defined conda environment with a define python version, +### and call it to check if it works +### example usage: +### ./pip_install.sh stable my_env 3.9 set -e -u INSTALL_TYPE=$1 # stable, loose, etc..