Skip to content

Commit 56b0c27

Browse files
committed
.
1 parent 0b84d0c commit 56b0c27

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/update-tox.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,19 @@ jobs:
6060
const branchName = '${{ steps.create-branch.outputs.branch_name }}';
6161
const commitTitle = '${{ steps.create-branch.outputs.commit_title }}';
6262
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, '')
6376
6477
// Close existing toxgen PRs as they're now obsolete
6578
@@ -85,19 +98,7 @@ jobs:
8598
title: commitTitle + ' (' + date + ')',
8699
head: branchName,
87100
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,
101102
});
102103
103104
await github.rest.issues.addLabels({

0 commit comments

Comments
 (0)