diff --git a/.github/workflows/release_wheel_creation.yml b/.github/workflows/release_wheel_creation.yml index 8b3f862504a..419921c795d 100644 --- a/.github/workflows/release_wheel_creation.yml +++ b/.github/workflows/release_wheel_creation.yml @@ -27,7 +27,7 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-22.04, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest] arch: [all] wheel-version: ['cp39*', 'cp310*', 'cp311*', 'cp312*', 'cp313*'] @@ -91,7 +91,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-22.04] + os: [ubuntu-latest] arch: [all] wheel-version: ['cp39*', 'cp310*', 'cp311*', 'cp312*', 'cp313*'] @@ -145,7 +145,7 @@ jobs: pure_python: name: pure_python_wheel - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: python-version: ['3.11'] @@ -175,9 +175,9 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04] + os: [ubuntu-latest] include: - - os: ubuntu-22.04 + - os: ubuntu-latest TARGET: generic_tarball python-version: [3.9] steps: diff --git a/.github/workflows/test_branches.yml b/.github/workflows/test_branches.yml index 8a66acf8a81..4e701c85d50 100644 --- a/.github/workflows/test_branches.yml +++ b/.github/workflows/test_branches.yml @@ -30,7 +30,7 @@ env: jobs: lint: name: lint/style-and-typos - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout Pyomo source uses: actions/checkout@v4 @@ -70,13 +70,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04] + os: [ubuntu-latest] python: ['3.13'] other: [""] category: [""] include: - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.13' TARGET: linux PYENV: pip @@ -92,7 +92,7 @@ jobs: PYENV: conda PACKAGES: glpk pytest-qt filelock - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.11' other: /conda skip_doctest: 1 @@ -100,7 +100,7 @@ jobs: PYENV: conda PACKAGES: pytest-qt - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.10' other: /mpi mpi: 3 @@ -109,7 +109,7 @@ jobs: PYENV: conda PACKAGES: openmpi mpi4py - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.12' other: /cython setup_options: --with-cython @@ -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 @@ -688,7 +688,7 @@ jobs: bare-python-env: name: linux/3.9/bare-env - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest timeout-minutes: 10 steps: - name: Checkout Pyomo source @@ -735,10 +735,10 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, macos-13, windows-latest] + os: [ubuntu-latest, macos-13, windows-latest] include: - - os: ubuntu-22.04 + - os: ubuntu-latest TARGET: linux - os: macos-13 TARGET: osx diff --git a/.github/workflows/test_pr_and_main.yml b/.github/workflows/test_pr_and_main.yml index a04dd4b7a12..860927ff7ee 100644 --- a/.github/workflows/test_pr_and_main.yml +++ b/.github/workflows/test_pr_and_main.yml @@ -38,7 +38,7 @@ env: jobs: lint: name: lint/style-and-typos - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest if: | contains(github.event.pull_request.title, '[WIP]') != true && !github.event.pull_request.draft steps: @@ -67,13 +67,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] python: [ 3.9, '3.10', '3.11', '3.12', '3.13' ] other: [""] category: [""] include: - - os: ubuntu-22.04 + - os: ubuntu-latest TARGET: linux PYENV: pip @@ -86,7 +86,7 @@ jobs: PYENV: conda PACKAGES: glpk pytest-qt filelock - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.11' other: /conda skip_doctest: 1 @@ -94,7 +94,7 @@ jobs: PYENV: conda PACKAGES: pytest-qt - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.10' other: /mpi mpi: 3 @@ -103,7 +103,7 @@ jobs: PYENV: conda PACKAGES: openmpi mpi4py - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.12' other: /cython setup_options: --with-cython @@ -119,7 +119,7 @@ jobs: TARGET: win PYENV: pip - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.11' other: /singletest category: "-m 'neos or importtest'" @@ -127,7 +127,7 @@ jobs: TARGET: linux PYENV: pip - - os: ubuntu-22.04 + - os: ubuntu-latest python: 3.9 other: /slim slim: 1 @@ -135,7 +135,7 @@ jobs: TARGET: linux PYENV: pip - - os: ubuntu-22.04 + - os: ubuntu-latest python: 3.12 other: /numpy2 slim: 1 @@ -144,14 +144,14 @@ jobs: PYENV: pip PACKAGES: "gurobipy dill numpy>2.0 scipy networkx" - - os: ubuntu-22.04 + - os: ubuntu-latest python: '3.10' other: /pyutilib TARGET: linux PYENV: pip PACKAGES: pyutilib - - os: ubuntu-22.04 + - os: ubuntu-latest python: pypy-3.9 skip_doctest: 1 TARGET: linux @@ -266,7 +266,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 @@ -723,7 +723,7 @@ jobs: bare-python-env: name: linux/3.9/bare-env needs: lint # the linter job is a prerequisite for PRs - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest timeout-minutes: 10 steps: - name: Checkout Pyomo source @@ -770,10 +770,10 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, macos-13, windows-latest] + os: [ubuntu-latest, macos-13, windows-latest] include: - - os: ubuntu-22.04 + - os: ubuntu-latest TARGET: linux - os: macos-13 TARGET: osx diff --git a/.github/workflows/url_check.yml b/.github/workflows/url_check.yml index 6b8d3a9e092..797574574b4 100644 --- a/.github/workflows/url_check.yml +++ b/.github/workflows/url_check.yml @@ -11,7 +11,7 @@ on: jobs: url_check: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Checkout Pyomo source uses: actions/checkout@v4