File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,6 +110,18 @@ jobs:
110110 uses : prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1
111111 with :
112112 environments : ${{ matrix.environment }}
113+ - name : Get cache week key
114+ id : cache-week
115+ run : echo "week=$(date +%Y-W%V)" >> $GITHUB_OUTPUT
116+ shell : bash
117+ - name : Cache test index
118+ uses : actions/cache@v4
119+ with :
120+ path : ~/.holoviz-mcp-test
121+ key : holoviz-mcp-test-index-${{ runner.os }}-${{ hashFiles('src/holoviz_mcp/config/config.yaml') }}-${{ steps.cache-week.outputs.week }}
122+ restore-keys : |
123+ holoviz-mcp-test-index-${{ runner.os }}-${{ hashFiles('src/holoviz_mcp/config/config.yaml') }}-
124+ holoviz-mcp-test-index-${{ runner.os }}-
113125 - name : Install repository
114126 run : pixi run -e ${{ matrix.environment }} postinstall
115127 - name : Run pytest
You can’t perform that action at this time.
0 commit comments