-
Notifications
You must be signed in to change notification settings - Fork 0
Ci/gate skip integration tests on prs #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
9aefebb
CI: enable pytest-xdist + split release tests
stranske f12ba93
Docs: clarify CI test split and triggers
stranske 735754e
chore(autofix): formatting/lint
github-actions[bot] 4181ca1
Update .github/workflows/release-e2e.yml
stranske 5de4a80
Update .github/workflows/release-e2e.yml
stranske File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| # Runs slow release/packaging validation outside the PR Gate critical path. | ||
| # Trigger modes: | ||
| # - Nightly schedule (main branch) | ||
| # - Manual dispatch | ||
| # - PR label "run-release" (runs against PR head SHA) | ||
|
|
||
| name: Release E2E | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: "15 3 * * *" # ~03:15 UTC nightly | ||
| workflow_dispatch: | ||
| pull_request: | ||
| types: [labeled] | ||
|
|
||
| concurrency: | ||
| group: release-e2e-${{ github.event.pull_request.number || github.ref_name }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| release-tests: | ||
| name: Release / Packaging Tests | ||
| if: >- | ||
| ${ | ||
| github.event_name != 'pull_request' || | ||
| github.event.label.name == 'run-release' | ||
| } | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: "3.11" | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| set -euo pipefail | ||
| python -m pip install --upgrade pip | ||
| pip install -r requirements.txt | ||
| pip install -e "[dev]" | ||
|
stranske marked this conversation as resolved.
Outdated
|
||
|
|
||
| - name: Run release-marked tests | ||
| run: | | ||
| set -euo pipefail | ||
| pytest -q -m release --durations=10 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,46 +1,93 @@ | ||
| # This file was autogenerated by uv via the following command: | ||
| # uv pip compile pyproject.toml --extra dev --universal --output-file requirements-dev.lock | ||
| colorama==0.4.6 ; sys_platform == 'win32' | ||
| # via pytest | ||
| annotated-types==0.7.0 | ||
| # via pydantic | ||
| black==24.10.0 | ||
| # via my-project (pyproject.toml) | ||
| click==8.3.1 | ||
| # via black | ||
| colorama==0.4.6 ; sys_platform == 'win32' | ||
| # via | ||
| # click | ||
| # pytest | ||
| coverage==7.13.4 | ||
| # via pytest-cov | ||
| et-xmlfile==2.0.0 | ||
| # via openpyxl | ||
| execnet==2.1.2 | ||
| # via pytest-xdist | ||
| iniconfig==2.3.0 | ||
| # via pytest | ||
| librt==0.8.0 ; platform_python_implementation != 'PyPy' | ||
| # via mypy | ||
| lxml==6.0.2 | ||
| # via python-pptx | ||
| mypy==1.19.1 | ||
| # via my-project (pyproject.toml) | ||
| mypy-extensions==1.1.0 | ||
| # via mypy | ||
| # via | ||
| # black | ||
| # mypy | ||
| numpy==2.4.2 | ||
| # via pandas | ||
| openpyxl==3.1.5 | ||
| # via my-project (pyproject.toml) | ||
| packaging==25.0 | ||
| # via pytest | ||
| # via | ||
| # black | ||
| # pytest | ||
| pandas==2.2.3 | ||
| # via my-project (pyproject.toml) | ||
| pathspec==0.12.1 | ||
| # via mypy | ||
| pydantic==2.7.4 | ||
| # via my-project (pyproject.toml) | ||
| python-pptx==1.0.2 | ||
| # via my-project (pyproject.toml) | ||
| pyyaml==6.0.2 | ||
| # via my-project (pyproject.toml) | ||
| # via | ||
| # black | ||
| # mypy | ||
| pillow==12.1.1 | ||
| # via python-pptx | ||
| platformdirs==4.9.1 | ||
| # via black | ||
| pluggy==1.6.0 | ||
| # via | ||
| # pytest | ||
| # pytest-cov | ||
| pydantic==2.7.4 | ||
| # via my-project (pyproject.toml) | ||
| pydantic-core==2.18.4 | ||
| # via pydantic | ||
| pygments==2.19.2 | ||
| # via pytest | ||
| pytest==9.0.2 | ||
| # via | ||
| # my-project (pyproject.toml) | ||
| # pytest-cov | ||
| # pytest-xdist | ||
| pytest-cov==7.0.0 | ||
| # via my-project (pyproject.toml) | ||
| pytest-xdist==3.8.0 | ||
| # via my-project (pyproject.toml) | ||
| python-dateutil==2.9.0.post0 | ||
| # via pandas | ||
| python-pptx==1.0.2 | ||
| # via my-project (pyproject.toml) | ||
| pytz==2025.2 | ||
| # via pandas | ||
| pyyaml==6.0.2 | ||
| # via my-project (pyproject.toml) | ||
| ruff==0.15.1 | ||
| # via my-project (pyproject.toml) | ||
| six==1.17.0 | ||
| # via python-dateutil | ||
| tomli==2.4.0 ; python_full_version <= '3.11' | ||
| # via coverage | ||
| tomlkit==0.13.3 | ||
| # via my-project (pyproject.toml) | ||
| typing-extensions==4.15.0 | ||
| # via mypy | ||
| # via | ||
| # mypy | ||
| # pydantic | ||
| # pydantic-core | ||
| # python-pptx | ||
| tzdata==2025.3 | ||
| # via pandas | ||
| xlsxwriter==3.2.9 | ||
| # via python-pptx |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.