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

Enhance and optimize PR GitHub workflows #1365

Merged
merged 22 commits into from Aug 18, 2020
Merged

Conversation

Twixes
Copy link
Collaborator

@Twixes Twixes commented Aug 5, 2020

Changes

This improves GitHub workflow naming and separation, uses parallel jobs, updates ESLint linting, and adds prettier plus black checks. Also makes use of GitHub check annotations.

@Twixes Twixes changed the title Improve GitHub workflows Enhance and optimize GitHub workflows Aug 5, 2020
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 19:35 Inactive
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 19:37 Inactive
@Twixes Twixes changed the title Enhance and optimize GitHub workflows Enhance and optimize PR GitHub workflows Aug 5, 2020
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 19:45 Inactive
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 19:48 Inactive
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 19:53 Inactive
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 19:58 Inactive
@Twixes
Copy link
Collaborator Author

Twixes commented Aug 5, 2020

This will make PR checks faster and more comprehensive, but you'll need to update "required status checks" in repo settings. @timgl I think all besides Cypress should be required.

@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 20:06 Inactive
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 20:07 Inactive
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 5, 2020 21:12 Inactive
requirements.txt Outdated
@@ -23,6 +23,7 @@ django-redis==4.12.1
django-statsd==2.5.2
djangorestframework==3.11.0
djangorestframework-csv==2.1.0
freezegun==0.3.15
Copy link
Collaborator

Choose a reason for hiding this comment

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

don't thinik that's supposed to be in here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hm, wouldn't be a problem but yeah, since only tests need freezegun and they're run with prod requirements.txt only, I just put it into the GH workflow.

@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 10, 2020 14:30 Inactive
@timgl timgl temporarily deployed to posthog-improve-github--j5sqfa August 10, 2020 14:36 Inactive
@Twixes Twixes requested a review from timgl August 16, 2020 16:44
@timgl timgl merged commit 49a15e9 into master Aug 18, 2020
@timgl timgl deleted the improve-github-workflows branch August 18, 2020 09:08
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.

None yet

2 participants