NLeSC / python-template

Netherlands eScience Center Python Template
https://research-software-directory.org/software/nlesc-python-template
Apache License 2.0
196 stars 77 forks source link

Fix build.yml workflow #647

Closed abelsiqueira closed 2 months ago

abelsiqueira commented 2 months ago

Checklist before requesting a review

Type of change

List of related issues or pull requests**

Refs:

Describe the changes made in this pull request

The build.yml was broken because it was not being processed by Jinja. Adding the .jinja extension fixed that. Then it was broken because whitespace stripping was concatenating the lint from AddLinting.

Instructions to review the pull request

Suggestions for review:

Install the requirements

cd $(mktemp -d --tmpdir py-tmpl-XXXXXX)
pip install pipx
pipx install copier

Create a new package using the template

copier copy --vcs-ref <YOUR_BRANCH> https://github.com/nlesc/python-template test_package

Create a local git repo to push to GitHub to trigger CI actions

git init
git add --all
git commit -m "First commit"
git remote add origin git@github.com:<YOU>/python-template-test.git
git push -u origin main -f