From c9d016486df6a9f473d16160fc4fb7e42a14cb34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Thu, 21 Dec 2023 09:14:19 +0100 Subject: [PATCH] Add cache setting --- .github/workflows/test.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1f0fad2a72..72d2ec405c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,6 +16,10 @@ on: - default - full - downstream + cache: + description: "Use cache" + type: boolean + default: true schedule: - cron: "0 14 * * SUN" @@ -118,7 +122,7 @@ jobs: channel-priority: strict channels: pyviz/label/dev,conda-forge,nodefaults envs: "-o flakes -o tests -o examples_tests -o tests_ci" - cache: true + cache: ${{ github.event.inputs.cache }} conda-update: true id: install - name: bokeh sampledata @@ -167,7 +171,7 @@ jobs: python-version: ${{ matrix.python-version }} channels: pyviz/label/dev,bokeh,conda-forge,nodefaults envs: "-o recommended -o tests -o build -o tests_ci" - cache: true + cache: ${{ github.event.inputs.cache }} playwright: true id: install - name: doit test_ui @@ -206,7 +210,7 @@ jobs: # # channel-priority: strict # channels: pyviz/label/dev,conda-forge,nodefaults # envs: "-o tests_core -o tests_ci" - # cache: true + # cache: ${{ github.event.inputs.cache }} # conda-update: true # id: install - uses: actions/checkout@v3