Skip to content

Commit

Permalink
Update workflows (#4626)
Browse files Browse the repository at this point in the history
  • Loading branch information
kratman authored Nov 28, 2024
1 parent 72c23ea commit a9ceff9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 62 deletions.
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.

0 comments on commit a9ceff9

Please sign in to comment.