Skip to content

Add GitHub Actions workflow to publish to PyPI#78

Open
santigracia wants to merge 1 commit intomixpanel:masterfrom
santigracia:pypi-publish-gh-actions
Open

Add GitHub Actions workflow to publish to PyPI#78
santigracia wants to merge 1 commit intomixpanel:masterfrom
santigracia:pypi-publish-gh-actions

Conversation

@santigracia
Copy link
Copy Markdown
Contributor

Introduce a workflow that runs on published releases (tags) to build and publish the package to PyPI.

Before this will work, someone with PyPI admin access ( @jaredmixpanel @dongjae93 ) to mixpanel-utils needs to do the one-time Trusted Publisher setup:

  1. Go to the PyPI project settings → Publishing
  2. Add trusted publisher: owner mixpanel, repo mixpanel-utils, workflow publish.yml, environment pypi
  • Current version 3.0.0 that deprecates API Secret is not published in PyPI.

CC: @tylerjroach

Introduce a workflow that runs on published releases to build and publish the package to PyPI.

Before this will work, someone with PyPI admin access to mixpanel-utils needs to do the one-time Trusted Publisher setup:

  1. Go to the PyPI project settings → Publishing
  2. Add trusted publisher: owner mixpanel, repo mixpanel-utils, workflow publish.yml, environment pypi
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@ca3eba0). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #78   +/-   ##
=========================================
  Coverage          ?   36.31%           
=========================================
  Files             ?        4           
  Lines             ?     1074           
  Branches          ?      160           
=========================================
  Hits              ?      390           
  Misses            ?      674           
  Partials          ?       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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