Skip to content

Commit

Permalink
See if new ubuntu+headless action cause issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Jan 10, 2025
1 parent 9947230 commit a495df6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
jobs:
lint:
name: lint/style-and-typos
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout Pyomo source
uses: actions/checkout@v4
Expand Down Expand Up @@ -70,13 +70,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-24.04]
python: ['3.13']
other: [""]
category: [""]

include:
- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.13'
TARGET: linux
PYENV: pip
Expand All @@ -92,15 +92,15 @@ jobs:
PYENV: conda
PACKAGES: glpk pytest-qt filelock

- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.11'
other: /conda
skip_doctest: 1
TARGET: linux
PYENV: conda
PACKAGES: pytest-qt

- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.10'
other: /mpi
mpi: 3
Expand All @@ -109,7 +109,7 @@ jobs:
PYENV: conda
PACKAGES: openmpi mpi4py

- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.12'
other: /cython
setup_options: --with-cython
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
# have support for OSX.
- name: Set up UI testing infrastructure
if: ${{ matrix.TARGET != 'osx' }}
uses: pyvista/setup-headless-display-action@v2
uses: pyvista/setup-headless-display-action@v3
with:
qt: true
pyvista: false
Expand Down Expand Up @@ -714,7 +714,7 @@ jobs:
bare-python-env:
name: linux/3.9/bare-env
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout Pyomo source
Expand Down Expand Up @@ -761,10 +761,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-24.04, macos-13, windows-latest]

include:
- os: ubuntu-latest
- os: ubuntu-24.04
TARGET: linux
- os: macos-13
TARGET: osx
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/test_pr_and_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ env:
jobs:
lint:
name: lint/style-and-typos
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: |
contains(github.event.pull_request.title, '[WIP]') != true && !github.event.pull_request.draft
steps:
Expand Down Expand Up @@ -67,13 +67,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-24.04, macos-latest, windows-latest]
python: [ 3.9, '3.10', '3.11', '3.12', '3.13' ]
other: [""]
category: [""]

include:
- os: ubuntu-latest
- os: ubuntu-24.04
TARGET: linux
PYENV: pip

Expand All @@ -86,15 +86,15 @@ jobs:
PYENV: conda
PACKAGES: glpk pytest-qt filelock

- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.11'
other: /conda
skip_doctest: 1
TARGET: linux
PYENV: conda
PACKAGES: pytest-qt

- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.10'
other: /mpi
mpi: 3
Expand All @@ -103,7 +103,7 @@ jobs:
PYENV: conda
PACKAGES: openmpi mpi4py

- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.12'
other: /cython
setup_options: --with-cython
Expand All @@ -119,23 +119,23 @@ jobs:
TARGET: win
PYENV: pip

- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.11'
other: /singletest
category: "-m 'neos or importtest'"
skip_doctest: 1
TARGET: linux
PYENV: pip

- os: ubuntu-latest
- os: ubuntu-24.04
python: 3.9
other: /slim
slim: 1
skip_doctest: 1
TARGET: linux
PYENV: pip

- os: ubuntu-latest
- os: ubuntu-24.04
python: 3.12
other: /numpy2
slim: 1
Expand All @@ -144,14 +144,14 @@ jobs:
PYENV: pip
PACKAGES: "gurobipy dill numpy>2.0 scipy networkx"

- os: ubuntu-latest
- os: ubuntu-24.04
python: '3.10'
other: /pyutilib
TARGET: linux
PYENV: pip
PACKAGES: pyutilib

- os: ubuntu-latest
- os: ubuntu-24.04
python: pypy-3.9
skip_doctest: 1
TARGET: linux
Expand Down Expand Up @@ -748,7 +748,7 @@ jobs:
bare-python-env:
name: linux/3.9/bare-env
needs: lint # the linter job is a prerequisite for PRs
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout Pyomo source
Expand Down Expand Up @@ -795,10 +795,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-24.04, macos-13, windows-latest]

include:
- os: ubuntu-latest
- os: ubuntu-24.04
TARGET: linux
- os: macos-13
TARGET: osx
Expand Down

0 comments on commit a495df6

Please sign in to comment.