Remove deprecated serialization shims kept for Legacy MMM #4136
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: Test Notebooks | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "pyproject.toml" | |
| - "tests/**.py" | |
| - "pymc_marketing/**" | |
| - ".github/workflows/test_notebook.yml" | |
| - "scripts/run_notebooks/**.py" | |
| - "docs/source/notebooks/**.ipynb" | |
| - "!docs/source/notebooks/mmm/**.ipynb" | |
| - "!docs/source/notebooks/*/dev/**.ipynb" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "pyproject.toml" | |
| - "tests/**.py" | |
| - "pymc_marketing/**" | |
| - ".github/workflows/test_notebook.yml" | |
| - "scripts/run_notebooks/**.py" | |
| - "docs/source/notebooks/**.ipynb" | |
| - "!docs/source/notebooks/mmm/**.ipynb" | |
| - "!docs/source/notebooks/*/dev/**.ipynb" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| notebooks: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| linker: [cvm, numba] | |
| split: | |
| - "--notebooks mmm --end-idx 10" | |
| - "--notebooks mmm --start-idx 10" | |
| - "--notebooks clv" | |
| - "--notebooks bass" | |
| - "--notebooks customer_choice" | |
| - "--notebooks general" | |
| - "--exclude-dirs mmm clv bass customer_choice general" | |
| env: | |
| PYTENSOR_FLAGS: linker=${{ matrix.linker }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get install graphviz graphviz-dev | |
| uv venv --python 3.12 | |
| uv pip install --upgrade pip | |
| uv pip install -e ".[docs,test,dag]" | |
| uv pip list | |
| - name: Run notebooks | |
| run: uv run scripts/run_notebooks/runner.py ${{ matrix.split }} |