forked from open-telemetry/opentelemetry-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate workflow files with a Jinja template
Fixes open-telemetry#4040
- Loading branch information
Showing
11 changed files
with
7,984 additions
and
348 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,21 @@ | ||
from pathlib import Path | ||
|
||
from generate_workflows_lib import ( | ||
generate_test_workflow, | ||
generate_lint_workflow, | ||
generate_contrib_workflow, | ||
generate_misc_workflow | ||
) | ||
|
||
tox_ini_path = Path(__file__).parent.parent.parent.joinpath("tox.ini") | ||
workflows_directory_path = Path(__file__).parent | ||
|
||
generate_test_workflow( | ||
tox_ini_path, | ||
workflows_directory_path, | ||
"ubuntu-latest", | ||
"windows-latest", | ||
) | ||
generate_lint_workflow(tox_ini_path, workflows_directory_path) | ||
generate_contrib_workflow(workflows_directory_path) | ||
generate_misc_workflow(tox_ini_path, workflows_directory_path) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.