|
60 | 60 | const branchName = '${{ steps.create-branch.outputs.branch_name }}'; |
61 | 61 | const commitTitle = '${{ steps.create-branch.outputs.commit_title }}'; |
62 | 62 | const date = '${{ steps.create-branch.outputs.date }}'; |
| 63 | + const prBody = `Update our test matrix with new releases of integrated frameworks and libraries. |
| 64 | +
|
| 65 | + ## How it works |
| 66 | + - Scan PyPI for all supported releases of all frameworks we have a dedicated test suite for. |
| 67 | + - Pick a representative sample of releases to run our test suite against. We always test the latest and oldest supported version. |
| 68 | + - Update tox.ini with the new releases. |
| 69 | +
|
| 70 | + ## Action required |
| 71 | + - If CI passes on this PR, it's safe to approve and merge. It means our integrations can handle new versions of frameworks that got pulled in. |
| 72 | + - If CI doesn't pass on this PR, this points to an incompatibility of either our integration or our test setup with a new version of a framework. |
| 73 | + - Check what the failures look like and either fix them, or update the [test config](scripts/populate_tox/config.py) and rerun [scripts/generate-test-files.sh](scripts/generate-test-files.sh). See [README.md](scripts/populate_tox/README.md) for what configuration options are available. |
| 74 | +
|
| 75 | + This PR was automatically created using [a GitHub action](.github/workflows/update-tox.yml).`.replace(/^ {16}/gm, '') |
63 | 76 |
|
64 | 77 | // Close existing toxgen PRs as they're now obsolete |
65 | 78 |
|
|
85 | 98 | title: commitTitle + ' (' + date + ')', |
86 | 99 | head: branchName, |
87 | 100 | base: '${{ github.ref_name }}', |
88 | | - body: `Update our test matrix with new releases of integrated frameworks and libraries. |
89 | | -
|
90 | | - ## How it works |
91 | | - - Scan PyPI for all supported releases of all frameworks we have a dedicated test suite for. |
92 | | - - Pick a representative sample of releases to run our test suite against. We always test the latest and oldest supported version. |
93 | | - - Update tox.ini with the new releases. |
94 | | -
|
95 | | - ## Action required |
96 | | - - If CI passes on this PR, it's safe to approve and merge. It means our integrations can handle new versions of frameworks that got pulled in. |
97 | | - - If CI doesn't pass on this PR, this points to an incompatibility of either our integration or our test setup with a new version of a framework. |
98 | | - - Check what the failures look like and either fix them, or update the [test config](scripts/populate_tox/config.py) and rerun [scripts/generate-test-files.sh](scripts/generate-test-files.sh). See [README.md](scripts/populate_tox/README.md) for what configuration options are available. |
99 | | -
|
100 | | - This PR was automatically created using [a GitHub action](.github/workflows/update-tox.yml).`.replace(/^ {14}/gm, '') |
| 101 | + body: prBody, |
101 | 102 | }); |
102 | 103 |
|
103 | 104 | await github.rest.issues.addLabels({ |
|
0 commit comments