Add CI job for pytest development version#1429
Add CI job for pytest development version#1429evjames4 wants to merge 1 commit intopytest-dev:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1429 +/- ##
==========================================
- Coverage 95.13% 94.53% -0.61%
==========================================
Files 2 2
Lines 473 512 +39
Branches 57 61 +4
==========================================
+ Hits 450 484 +34
- Misses 17 22 +5
Partials 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
seifertm
left a comment
There was a problem hiding this comment.
Thanks for the contribution @evjames4 !
It's desirable to have parity between the CI/CD workflow and the local development environment. That means, it should be possible to run the tests against pytest dev in the local development environment.
There was another Pull Request which seems like it had this figured out. Can you take a look and extend the local development environment so that there's a tox environment that runs all tests against the development version of pytest?
| name: Check | ||
| if: always() | ||
| needs: [build, lint, test] | ||
| needs: [build, lint, test, test-pytest-dev] |
There was a problem hiding this comment.
I don't think we want to make this a mandatory CI job. It's completely fine to merge code, even though test-pytest-dev does not run successfully.
We want to have the CI job to make incompatibilities visible only, not to block on them.
| needs: [build, lint, test, test-pytest-dev] | |
| needs: [build, lint, test] |
| persist-credentials: false | ||
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 | ||
| with: | ||
| python-version: '3.13' |
There was a problem hiding this comment.
Let's just use the PYTHON_LATEST, in order to keep Python updates in the workflow simple.
| python-version: '3.13' | |
| python-version: ${{ env.PYTHON_LATEST }} |
| if-no-files-found: error | ||
|
|
||
| test-pytest-dev: | ||
| name: ubuntu - Python 3.13 - pytest dev |
There was a problem hiding this comment.
| name: ubuntu - Python 3.13 - pytest dev | |
| name: ubuntu - Python ${{ env.PYTHON_LATEST }} - pytest dev |
Closes #1132
This adds a separate CI job to test pytest-asyncio against the development version of pytest while keeping the existing stable test matrix unchanged.
Summary: