Create a python-template-test repo on GitLab (will be overwritten if existing)
# Create a temporary directory by running the following command. Keep the XXXXXX in the directory name.
cd $(mktemp -d --tmpdir py-tmpl-XXXXXX)
# Use --vcs-ref <pr-branch> to point to the branch you want to test
copier copy --vcs-ref 452-gitlab-ci-workflow https://github.com/NLeSC/python-template .
# Fill with python-template-test info
# Create a local git repo to push to GitLab to trigger CI actions
git init
git add --all
git commit -m "First commit"
git remote add origin git@gitlab.com:<you>/python-template-test.git
git push -u origin main -f
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
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.
Description
Adds a gitlab-ci.yml file to provide similar functionality as the current GitHub workflows:
See this GitLab repo's CI output for output examples. Tests pass, CFF convert and links checker fail as expected for a default generated package.
Note changelog entry is still lumped in with 'unreleased' entries belonging to v0.5.0. See #455
Related issues:
Instructions to review the pull request
Create a python-template-test repo on GitLab (will be overwritten if existing)