File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches :
9
9
- main
10
+ types :
11
+ - opened
12
+ - reopened
13
+ - synchronize
14
+ - ready_for_review
10
15
workflow_dispatch :
11
16
inputs :
12
17
git-ref :
34
39
lint :
35
40
name : lint/style-and-typos
36
41
runs-on : ubuntu-latest
42
+ if : |
43
+ contains(github.event.pull_request.title, '[WIP]') != true && !github.event.pull_request.draft
37
44
steps :
38
45
- name : Checkout Pyomo source
39
46
uses : actions/checkout@v4
@@ -734,7 +741,7 @@ jobs:
734
741
cover :
735
742
name : process-coverage-${{ matrix.TARGET }}
736
743
needs : build
737
- if : always () # run even if a build job fails
744
+ if : success () || failure() # run even if a build job fails, but not if cancelled
738
745
runs-on : ${{ matrix.os }}
739
746
timeout-minutes : 10
740
747
strategy :
Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ at least 70% coverage of the lines modified in the PR and prefer coverage
71
71
closer to 90%. We also require that all tests pass before a PR will be
72
72
merged.
73
73
74
+ .. note ::
75
+ If you are having issues getting tests to pass on your Pull Request,
76
+ please tag any of the core developers to ask for help.
77
+
74
78
The Pyomo main branch provides a Github Actions workflow (configured
75
79
in the ``.github/ `` directory) that will test any changes pushed to
76
80
a branch with a subset of the complete test harness that includes
@@ -82,13 +86,16 @@ This will enable the tests to run automatically with each push to your fork.
82
86
83
87
At any point in the development cycle, a "work in progress" pull request
84
88
may be opened by including '[WIP]' at the beginning of the PR
85
- title. This allows your code changes to be tested by the full suite of
86
- Pyomo's automatic
87
- testing infrastructure. Any pull requests marked '[WIP]' will not be
89
+ title. Any pull requests marked '[WIP]' or draft will not be
88
90
reviewed or merged by the core development team. However, any
89
91
'[WIP]' pull request left open for an extended period of time without
90
92
active development may be marked 'stale' and closed.
91
93
94
+ .. note ::
95
+ Draft and WIP Pull Requests will **NOT ** trigger tests. This is an effort to
96
+ reduce our CI backlog. Please make use of the provided
97
+ branch test suite for evaluating / testing draft functionality.
98
+
92
99
Python Version Support
93
100
++++++++++++++++++++++
94
101
You can’t perform that action at this time.
0 commit comments