perf(increment-approve): optimize OBS source report processing + development group filtering #2406
Workflow file for this run
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 | |
| # yamllint disable-line rule:truthy | |
| on: [push, pull_request] | |
| jobs: | |
| lint-commits: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - uses: astral-sh/setup-uv@v7 | |
| - name: Install gitlint | |
| run: uv tool install gitlint-core | |
| - name: Check commit messages | |
| run: gitlint --commits origin/${{ github.base_ref }}..HEAD | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Setup enviroment | |
| run: uv sync | |
| - name: Run tests + cov report | |
| run: uv run make ISOLATE=0 test-with-coverage | |
| - name: Upload coverage to CodeCov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: coverage.xml | |
| integration-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Setup enviroment | |
| run: uv sync | |
| - name: Run Integration Tests | |
| run: | | |
| curl --retry 3 -sS -o /usr/local/bin/retry https://raw.githubusercontent.com/okurz/retry/refs/heads/main/retry | |
| chmod +x /usr/local/bin/retry | |
| uv run make ISOLATE=0 test-integration |