Skip to content

Commit

Permalink
Printout of python version and location
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Jun 14, 2022
1 parent 08a1b45 commit c29876b
Showing 1 changed file with 12 additions and 33 deletions.
45 changes: 12 additions & 33 deletions .github/workflows/test_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c29876b

Please sign in to comment.