Skip to content
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

Generate workflow files with a Jinja template #4041

Merged
merged 6 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,229 changes: 2,229 additions & 0 deletions .github/workflows/contrib_0.yml

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions .github/workflows/generate_workflows.py
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)
71 changes: 0 additions & 71 deletions .github/workflows/lint.yml

This file was deleted.

Loading