GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — Skip 3.12-dev pending Greenlet support by hugovk · Pull Request #259 · python/pyperformance Conversation
|
|
Need to research more about how I also removed unsupported |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Please see PR #264 to replace this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| # Skip 3.12-dev, pending https://github.com/python-greenlet/greenlet/issues/323 | ||
| python: [pypy3.8, pypy3.9, "3.7", "3.8", "3.9", "3.10", 3.11-dev] |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
If I'm understanding https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#handling-failures correctly, we can achieve what we want to with something like:
continue-on-error: ${{ matrix.failure-allowed }} strategy: fail-fast: false matrix: # Test all supported versions on Ubuntu: os: [ubuntu-latest] python: [pypy3.8, pypy3.9, "3.7", "3.8", "3.9", "3.10", 3.11-dev] failure-allowed: [false] include: # Also test macOS and Windows: - os: macos-latest python: "3.10" failure-allowed: false - os: windows-latest python: "3.10" failure-allowed: false # Also test in-development version (allowing failures): - os: ubuntu-latest python: "3.12-dev" failure-allowed: true
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
failure-allowed is a verb/phrase that we can change as we wish to communicate things via the variable name. The example from GitHub used experimental.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I did try something along those lines, but wasn't successful.
Although I think #264 is a better approach? Then we'll at least see if the non-greenlet tests fail for 3.12. And when greenlet installs for 3.12, it'll start testing those too.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looking at your force-pushed events' diffs, I don't see continue-on-error: ${{ matrix.failure-allowed }} being added at any point at the job.<id> level; which might be why they didn't work?
Regardless, they're both valid approaches to solving the problem so it's not a big deal which one we go with. :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I also tried it in another branch:
test: runs-on: ${{ matrix.os }} name: ${{ matrix.os }} - ${{ matrix.python }} continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false matrix: # Test all supported versions on Ubuntu: os: [ubuntu-latest] python: [pypy3.7, pypy3.8, pypy3.9, "3.7", "3.8", "3.9", "3.10", 3.11-dev] experimental: [false] include: # Also test macOS and Windows: - os: macos-latest python: "3.10" experimental: false - os: windows-latest python: "3.10" experimental: false # Allow 3.12-dev to fail pending https://github.com/python-greenlet/greenlet/issues/323 - os: ubuntu-latest python: 3.12-dev experimental: true
Very similar to your snippet:
But still failed a PR: hugovk#3
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Indeed! Thanks for clarifying! ^.^
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closed in favour of #274 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.