feat(crons): Add monitors-incident-occurrences (#348) #1254
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@v4 | |
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' |