Skip to content

Testing and coverage fixes #3549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Apr 1, 2025
Prev Previous commit
Next Next commit
GHA doesn't support conditions in 'needs:'
jsiirola committed Apr 1, 2025
commit e6f61d8181877ee9dedc6071584da6d15017e85b
4 changes: 2 additions & 2 deletions .github/workflows/test_branches.yml
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ jobs:

build:
name: ${{ matrix.TARGET }}/${{ matrix.python }}${{ matrix.other }}
needs: ${{ endsWith( env.PYOMO_WORKFLOW, 'pr') && 'lint' || '' }}
needs: # Note: GHA does not support conditional dependencies
runs-on: ${{ matrix.os }}
timeout-minutes: 120
strategy:
@@ -768,7 +768,7 @@ jobs:

bare-python-env:
name: linux/3.9/bare-env
needs: ${{ endsWith( env.PYOMO_WORKFLOW, 'pr') && 'lint' || '' }}
needs: # Note: GHA does not support conditional dependencies
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
4 changes: 2 additions & 2 deletions .github/workflows/test_pr_and_main.yml
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ jobs:

build:
name: ${{ matrix.TARGET }}/${{ matrix.python }}${{ matrix.other }}
needs: ${{ endsWith( env.PYOMO_WORKFLOW, 'pr') && 'lint' || '' }}
needs: lint # the linter job is a prerequisite for PRs
runs-on: ${{ matrix.os }}
timeout-minutes: 120
strategy:
@@ -819,7 +819,7 @@ jobs:

bare-python-env:
name: linux/3.9/bare-env
needs: ${{ endsWith( env.PYOMO_WORKFLOW, 'pr') && 'lint' || '' }}
needs: lint # the linter job is a prerequisite for PRs
runs-on: ubuntu-latest
timeout-minutes: 10
steps: