Skip to content

Merge branch 'release/0.1.45' #562

Merge branch 'release/0.1.45'

Merge branch 'release/0.1.45' #562

Workflow file for this run

name: build
on:
push:
branches:
- main
- release/**
pull_request:
jobs:
dist:
name: Create wheel and source distribution
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- run: make build
- uses: actions/upload-artifact@v2
if: github.event_name != 'pull_request'
with:
name: ${{ github.sha }}
path: dist/*
# validate that the built wheel is actually importable
- run: python -m venv /tmp/venv
- run: /tmp/venv/bin/pip install dist/*.whl
- run: /tmp/venv/bin/python -c 'import sentry_kafka_schemas'