From d525b70d6151e0dad449473d9a6200876d4790ec Mon Sep 17 00:00:00 2001 From: mschwoerer <82171591+mschwoer@users.noreply.github.com> Date: Fri, 14 Feb 2025 21:35:55 +0100 Subject: [PATCH] reduce scope of nightly tests --- .github/workflows/nightly_checks.yml | 23 +++++++++++++++++++++++ .github/workflows/pip_installation.yml | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/nightly_checks.yml diff --git a/.github/workflows/nightly_checks.yml b/.github/workflows/nightly_checks.yml new file mode 100644 index 00000000..ddc0ff7a --- /dev/null +++ b/.github/workflows/nightly_checks.yml @@ -0,0 +1,23 @@ +# Perform pip installation (loose) and run tests on one OS +# This is to get feedback on the loose version, which can change literally overnight when third parties are updated. + +on: + schedule: + - cron: "0 0 * * *" # daily at midnight + +name: Nightly loose pip install + unit tests + +jobs: + run-unit-tests-loose: + name: Test 'loose' on ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest ] + python-version: ["3.11"] + uses: ./.github/workflows/_run_tests.yml + with: + python-version: ${{ matrix.python-version }} + os: ${{ matrix.os }} + install-script: ./pip_install.sh tests + test-script: ./run_unit_tests.sh false diff --git a/.github/workflows/pip_installation.yml b/.github/workflows/pip_installation.yml index 7d8e002f..9fe0be89 100644 --- a/.github/workflows/pip_installation.yml +++ b/.github/workflows/pip_installation.yml @@ -8,8 +8,8 @@ on: push: branches: [ main ] - schedule: - - cron: "0 0 * * *" # daily at midnight, to get feedback on the loose version +# schedule: +# - cron: "0 0 * * *" # daily at midnight, to get feedback on the loose version workflow_dispatch: name: Pip install + unit tests