fix(uptime): Allow request_info and http_status_code to be null (#303) #1031
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.11 | |
- 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' |