-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run CI tests against in-repo pex tool (#185)
The CI tests currently only run against the released version of please_pex defined in `TOOLS_VERSION` in `tools/BUILD`, which means that changes made in please_pex PRs aren't actually tested in CI until a new tools release has already been cut and the version number bumped in `TOOLS_VERSION`. Add a new dimension to the GHA matrix that builds the in-repo version of please_pex and overrides the value of `PexTool` in the plugin config so that tests are run against it too.
- Loading branch information
1 parent
4080698
commit 36a93d9
Showing
4 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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 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,3 +1,5 @@ | ||
tools/please_pex_dev | ||
|
||
# Entries below this point are managed by Please (DO NOT EDIT) | ||
plz-out | ||
.plzconfig.local | ||
|
This file contains 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,10 @@ | ||
; This configuration uses the in-repo versions of the Python tools, rather than the released | ||
; versions that are downloaded from GitHub Releases in //tools. | ||
; | ||
; To use this configuration: | ||
; 1) Run `plz build //tools/please_pex` | ||
; 2) Copy plz-out/bin/tools/please_pex/please_pex to tools/please_pex_dev | ||
; 3) Run `plz --profile=tool_dev [...]` | ||
|
||
[Plugin "python"] | ||
PexTool = //tools:please_pex_dev |
This file contains 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