|
50 | 50 | cd altair
|
51 | 51 | mypy altair tests
|
52 | 52 |
|
| 53 | + marimo: |
| 54 | + strategy: |
| 55 | + matrix: |
| 56 | + python-version: ["3.12"] |
| 57 | + os: [ubuntu-latest] |
| 58 | + dependencies: ["core", "core,optional"] |
| 59 | + |
| 60 | + runs-on: ${{ matrix.os }} |
| 61 | + steps: |
| 62 | + - uses: actions/checkout@v4 |
| 63 | + - uses: actions/setup-python@v5 |
| 64 | + with: |
| 65 | + python-version: ${{ matrix.python-version }} |
| 66 | + - name: Install uv |
| 67 | + uses: astral-sh/setup-uv@v3 |
| 68 | + with: |
| 69 | + enable-cache: "true" |
| 70 | + cache-suffix: ${{ matrix.python-version }} |
| 71 | + cache-dependency-glob: "**requirements*.txt" |
| 72 | + - name: clone-marimo |
| 73 | + run: | |
| 74 | + git clone https://github.com/marimo-team/marimo.git --depth=1 |
| 75 | + cd marimo |
| 76 | + git log |
| 77 | + - name: install-basics |
| 78 | + run: uv pip install --upgrade tox virtualenv setuptools hatch --system |
| 79 | + - name: install-marimo-dev |
| 80 | + run: | |
| 81 | + cd marimo |
| 82 | + uv pip install -e ".[dev]" --system |
| 83 | + - name: install-narwhals-dev |
| 84 | + run: | |
| 85 | + uv pip uninstall narwhals --system |
| 86 | + uv pip install -e . --system |
| 87 | + - name: show-deps |
| 88 | + run: uv pip freeze |
| 89 | + - name: Create assets directory, copy over index.html |
| 90 | + run: | |
| 91 | + mkdir -p marimo/marimo/_static/assets |
| 92 | + cp marimo/frontend/index.html marimo/marimo/_static/index.html |
| 93 | + cp marimo/frontend/public/favicon.ico marimo/marimo/_static/favicon.ico |
| 94 | + - name: Run tests with minimal dependencies |
| 95 | + if: ${{ matrix.dependencies == 'core' }} |
| 96 | + run: | |
| 97 | + cd marimo |
| 98 | + hatch run +py=${{ matrix.python-version }} test:test -v tests/ -k "not test_cli" |
| 99 | + timeout-minutes: 15 |
| 100 | + - name: Run tests with optional dependencies |
| 101 | + if: ${{ matrix.dependencies == 'core,optional' }} |
| 102 | + run: | |
| 103 | + cd marimo |
| 104 | + hatch run +py=${{ matrix.python-version }} test-optional:test -v tests/ -k "not test_cli" |
| 105 | + timeout-minutes: 15 |
| 106 | + - name: Run typechecks |
| 107 | + run: | |
| 108 | + cd marimo |
| 109 | + hatch run typecheck:check |
| 110 | +
|
53 | 111 | scikit-lego:
|
54 | 112 | strategy:
|
55 | 113 | matrix:
|
|
0 commit comments