enable new embeddings for the marimo copernicus (#60) #159
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: [ main ] | |
| tags: | |
| - '*' | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| ci: | |
| name: ci | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repo | |
| uses: actions/checkout@v4 | |
| - name: Set up python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: | | |
| uv lock | |
| uv sync --extra dev | |
| - name: Verify ruff installation | |
| run: uv run ruff --version | |
| - name: ruff linter | |
| run: uv run ruff check . | |
| - name: ruff formatter | |
| run: uv run ruff format --check . | |
| - name: mypy | |
| run: uv run mypy . | |
| - name: unit tests with coverage | |
| run: | | |
| uv run coverage run -m pytest tests/ | |
| uv run coverage report -m | |
| uv run coverage xml | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: ./coverage.xml | |
| flags: unittests | |
| name: codecov-umbrella | |
| fail_ci_if_error: false |