Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scheduled test workflow #4626

Merged
merged 3 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
23 changes: 12 additions & 11 deletions .github/workflows/run_periodic_tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# Run all unit tests and integration tests for all Python versions
# and platforms at 3am UTC every day and on PRs to the main branch
name: Scheduled

on:
workflow_dispatch:
pull_request:
branches:
- main

# Run every day at 3 am UTC
schedule:
- cron: "0 3 * * *"
Expand All @@ -27,7 +21,7 @@ concurrency:
cancel-in-progress: true

jobs:
run_tests:
run_unit_integration_and_coverage_tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -44,7 +38,8 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install gfortran gcc graphviz pandoc libopenblas-dev texlive-latex-extra dvipng
sudo dot -c
sudo apt-get install libopenblas-dev texlive-latex-extra dvipng

- name: Install macOS system dependencies
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
Expand Down Expand Up @@ -100,6 +95,8 @@ jobs:
# Skips IDAKLU module compilation for speedups, which is already tested in other jobs.
run_doctests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
name: Doctests (ubuntu-latest / Python 3.11)

steps:
Expand All @@ -111,7 +108,7 @@ jobs:
- name: Install Linux system dependencies
run: |
sudo apt-get update
sudo apt-get install graphviz pandoc texlive-latex-extra dvipng
sudo apt-get install texlive-latex-extra dvipng

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -132,6 +129,8 @@ jobs:

run_example_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
name: Example notebooks (ubuntu-latest / Python 3.12)

steps:
Expand All @@ -141,7 +140,7 @@ jobs:
- name: Install Linux system dependencies
run: |
sudo apt-get update
sudo apt-get install gfortran gcc graphviz pandoc libopenblas-dev texlive-latex-extra dvipng
sudo apt-get install libopenblas-dev texlive-latex-extra dvipng

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand All @@ -163,6 +162,8 @@ jobs:

run_scripts_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
name: Example scripts (ubuntu-latest / Python 3.12)

steps:
Expand All @@ -172,7 +173,7 @@ jobs:
- name: Install Linux system dependencies
run: |
sudo apt-get update
sudo apt install gfortran gcc graphviz libopenblas-dev texlive-latex-extra dvipng
sudo apt-get install libopenblas-dev texlive-latex-extra dvipng

- name: Set up Python 3.12
uses: actions/setup-python@v5
Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/update_version.yml

This file was deleted.