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

Sync CI workflows with circulation #29

Merged
merged 3 commits into from
Jan 25, 2022

Conversation

jonathangreen
Copy link
Member

Description

Integrate the recent CI changes in the circulation repo into the workflows we are using in library-registry.

  • Use pre-commit instead of linting with tox
  • Align tox config more closely with circulation
  • Use poetry action defined in the circ repo to install poetry

Motivation and Context

Motivated as an effort to keep the development process between the two repos aligned as much as possible.

The first commit is the manual changes, the other commits are just automated formatting changes that come in with the additional linters added by precommit.

How Has This Been Tested?

These changes are mostly to CI processes, so CI passing should be a good test that it is working.

Checklist:

  • [ x ] I have updated the documentation accordingly.
  • [ x ] All new and existing tests passed.

Copy link
Collaborator

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

run: |
curl -sSL ${{ env.POETRY_URL }} | python -
echo "$HOME/.local/bin" >> $GITHUB_PATH
uses: ThePalaceProject/circulation/.github/actions/poetry@main
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not urgent, but should we eventually move this to ci-scripts since it is shared? And maybe rename ci-scripts to ci-shared?

@jonathangreen jonathangreen merged commit dc42e05 into main Jan 25, 2022
@jonathangreen jonathangreen deleted the feature/sync-with-circulation branch January 25, 2022 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants