Skip to content

Commit

Permalink
add PEP517 wheel testing to GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
swryan committed Mar 19, 2024
1 parent 41c621e commit cce64c3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/openmdao_test_workflow.yml
Expand Up @@ -36,6 +36,7 @@ jobs:
OPTIONAL: '[all]'
JAX: '0.4.14'
BANDIT: true
PEP517: true
TESTS: true
# set DEBUG to create an interactive debugging session just before testflo is run.
# Note that the workflow will run until you cancel the debugging session.
Expand Down Expand Up @@ -151,7 +152,16 @@ jobs:
echo "============================================================="
echo "Install OpenMDAO"
echo "============================================================="
python -m pip install .${{ matrix.OPTIONAL }}
if [[ "${{ matrix.PEP517 }}" == "true" ]]; then
pip wheel --no-deps --use-pep517 .
WHEEL=`find openmdao-*.whl`
echo "-----------------------------------------------------------"
echo "Installing from wheel: $WHEEL"
echo "-----------------------------------------------------------"
python -m pip install $WHEEL${{ matrix.OPTIONAL }}
else
python -m pip install .${{ matrix.OPTIONAL }}
fi
- name: Install PETSc
if: matrix.PETSc
Expand Down

0 comments on commit cce64c3

Please sign in to comment.