Repository navigation
Merge pull request #354 from getsentry/gocd-materialized-ops-shadow-2… #423
This file contains hidden or 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: ci | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - releases/** | |
| pull_request: | |
| jobs: | |
| test: | |
| name: lint and test | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| fetch-depth: 2 | |
| # Until GH composite actions can use `uses`, we need to setup python here | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: 3.13 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install flake8 pytest | |
| pip install pytest-cov | |
| - run: make requirements-test | |
| - run: make lint | |
| - run: make test | |
| - run: | | |
| pytest --cov=./ --cov-report=xml | |
| bash <(curl https://codecov.io/bash) |