Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: cache pip installs in CI (#705)

Myles Scolnickc7f79df93452
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 913da35302..2b4ebc6cc9 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -47,6 +47,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"
+ cache: "pip"
- name: 🐍 Install marimo
run: |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a3f774c933..248f37534b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -42,6 +42,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"
+ cache: "pip"
- name: 📦 Build marimo
run: |
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 290e32c136..94626dded6 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -25,7 +25,7 @@ jobs:
with:
version: 8
- - name: ⎔ Use Node.js
+ - name: ⎔ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
@@ -85,6 +85,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
+ cache: "pip"
# This step is needed since some of our tests rely on the index.html file
- name: Create assets directory, copy over index.html
run: |
diff --git a/.github/workflows/test_cli.yaml b/.github/workflows/test_cli.yaml
index 3e07a3b3cb..27ef0e89df 100644
--- a/.github/workflows/test_cli.yaml
+++ b/.github/workflows/test_cli.yaml
@@ -38,6 +38,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"
+ cache: "pip"
- name: 📦 Build marimo wheel
run: |
@@ -69,6 +70,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
+ cache: "pip"
- name: Install Python deps
run: |