diff --git a/.github/workflows/test_branches.yml b/.github/workflows/test_branches.yml index ca9834af901..395afced061 100644 --- a/.github/workflows/test_branches.yml +++ b/.github/workflows/test_branches.yml @@ -45,20 +45,6 @@ jobs: TARGET: osx PYENV: pip - - os: windows-latest - python: 3.7 - TARGET: win - PYENV: conda - PACKAGES: glpk - - - os: ubuntu-latest - python: 3.9 - other: /conda - skip_doctest: 1 - TARGET: linux - PYENV: conda - PACKAGES: - - os: ubuntu-latest python: 3.8 other: /mpi @@ -68,29 +54,18 @@ jobs: PYENV: conda PACKAGES: mpi4py openmpi - - os: ubuntu-latest - python: 3.7 - other: /slim - slim: 1 - skip_doctest: 1 - TARGET: linux - PYENV: pip - - - os: ubuntu-latest + - os: windows-latest python: 3.8 - other: /cython - setup_options: --with-cython - skip_doctest: 1 - TARGET: linux - PYENV: pip - PACKAGES: cython + TARGET: win + PYENV: conda + PACKAGES: glpk - os: windows-latest - python: 3.8 - other: /pip - skip_doctest: 1 + python: 3.10 TARGET: win - PYENV: pip + PYENV: conda + PACKAGES: glpk + steps: - name: Checkout Pyomo source @@ -264,6 +239,8 @@ jobs: conda config --show-sources conda config --show channels conda list --show-channel-urls + which python + python --version # Note: some pypi packages are not available through conda PYOMO_DEPENDENCIES=`python setup.py dependencies \ --extras "$EXTRAS" | tail -1` @@ -293,6 +270,8 @@ jobs: done # TODO: This is a hack to stop test_qt.py from running until we # can better troubleshoot why it fails on GHA + which python + python --version for QTPACKAGE in qt pyqt; do conda remove $QTPACKAGE || echo "$QTPACKAGE not in this environment" done