Skip to content

Commit

Permalink
reduce scope of nightly tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Feb 14, 2025
1 parent 8cd1375 commit d525b70
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/nightly_checks.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions .github/workflows/pip_installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d525b70

Please sign in to comment.