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

💚 Migrate CI from travis to gh-actions #29

Merged
merged 11 commits into from
Nov 4, 2021

Conversation

azogue
Copy link
Owner

@azogue azogue commented Nov 3, 2021

As travis.ci is not working anymore 😢, the day has come to move to the new 😅 GitHub Actions.

The desired flow is the same as before:

  • to run lint + test stages for all commits in PRs and master branch,
  • and publish new versions based on changes in the pyproject file, when merging to master.

Changes:

  • 🎨 Add isort to pre-commit config
  • 💚 Add configuration for pre-commit.ci to run linter checks there
  • 💚 CI flow with GitHub Actions to
    • install library with poetry
    • run tests
    • upload coverage when merging to master
    • publish a new pypi version when merging to master if pyproject.toml changes
  • 🔥 Remove previus travis CI config

@azogue azogue changed the title 💚 Add config for pre-commit.ci 💚 Migrate CI from travis to gh-actions Nov 4, 2021
@azogue azogue merged commit 67203b4 into master Nov 4, 2021
@azogue azogue deleted the chore/migrate-travis-to-gh-actions branch November 4, 2021 11:38
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.

1 participant