Repository navigation
ci: add shared build, lint, verify and smoke workflows for Python, Java and Node #386
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 all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
ad90556
ci: add python-smoke and common-reqstool-verify, extend python build/…
jimisola cf59e87
fix: use minor python version in python-smoke
jimisola b27549d
ci: read tool versions from tool-versions.yml in python-lint (spike f…
jimisola e6ecd8e
Revert "ci: read tool versions from tool-versions.yml in python-lint …
jimisola 0a854ab
ci: central Python 3.13/3.14/3.15 test matrix in python-build-hatch (…
jimisola d197931
ci: central Python matrix, poetry parity and pinned self-refs (#385)
jimisola 535c72c
ci: install-reqstool defaults to Python 3.15 (#385)
jimisola 9b1f906
ci: default checkout in smoke and verify instead of github.ref (#385)
jimisola a55a9bc
fix: use an absolute wheel path for poetry self add (#385)
jimisola c84a1ba
ci: build before tests in python-build-hatch (#385)
jimisola d931d8d
ci: drop the ref input from smoke and verify (#385)
jimisola 1b4efa9
ci: shared java build, lint and smoke workflows (#385)
jimisola 8f2edda
ci: shared typescript build, lint and smoke workflows (#385)
jimisola 0ea8516
ci(renovate): follow latest Python, Java LTS and Node LTS
jimisola 93d56c2
Merge branch 'main' into ci/385-shared-python-build
jimisola 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,69 @@ | ||
| name: Verify (reqstool) | ||
|
|
||
| # The reqstool gate shared by every repo: install reqstool from PyPI and from | ||
| # reqstool-client@main, then run `reqstool status` over the caller's checkout | ||
| # plus the build/ output (junit, coverage, annotations) produced by the build | ||
| # workflow. Replaces the identical tail of each repo's inline build job. | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| build-artifact: | ||
| description: "Name of the artifact holding the build/ output (see the build workflows' build-artifact-name)." | ||
| required: false | ||
| type: string | ||
| default: "dist-build" | ||
| build-directory: | ||
| description: "Directory the build artifact is extracted to, relative to repo root (build for Python/Gradle, target for Maven)." | ||
| required: false | ||
| type: string | ||
| default: "build" | ||
| reqstool-path: | ||
| description: "Path to the reqstool data directory, relative to repo root." | ||
| required: false | ||
| type: string | ||
| default: "docs/reqstool" | ||
| fail-if-incomplete: | ||
| description: "Fail unless every requirement is complete." | ||
| required: false | ||
| type: boolean | ||
| default: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| verify: | ||
| name: verify | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| reqstool-source: [pypi, main] | ||
| steps: | ||
| - uses: actions/checkout@v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: actions/download-artifact@v8.0.2 | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| with: | ||
| name: ${{ inputs.build-artifact }} | ||
| path: ${{ inputs.build-directory }} | ||
|
|
||
| # Composite actions of this repo are addressed by full path and pinned to a | ||
| # released SHA like any other caller (`./` would resolve against the caller's | ||
| # workspace); Renovate bumps them with every other reqstool/.github pin. | ||
| - uses: reqstool/.github/.github/actions/install-reqstool@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1 | ||
| with: | ||
| reqstool-source: ${{ matrix.reqstool-source }} | ||
|
|
||
| # Not yet in the latest PyPI release; supplementary to the status gate. | ||
| - if: matrix.reqstool-source == 'main' | ||
| uses: reqstool/.github/.github/actions/validate-reqstool@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1 | ||
| with: | ||
| reqstool-path: ${{ inputs.reqstool-path }} | ||
|
|
||
| - uses: reqstool/.github/.github/actions/reqstool-status@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1 | ||
| with: | ||
| reqstool-path: ${{ inputs.reqstool-path }} | ||
| fail-if-incomplete: ${{ inputs.fail-if-incomplete }} | ||
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
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.