File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 6
6
default : " 3.10"
7
7
description : " Python version to test."
8
8
9
+ outputs :
10
+ python-version :
11
+ description : " Installed Python version."
12
+ value : ${{ inputs.python-version }}
13
+ bokeh-version :
14
+ description : " Installed bokeh version."
15
+ value : ${{ steps.tests.outputs.bokeh-version }}
16
+
9
17
runs :
10
18
using : composite
11
19
@@ -52,10 +60,12 @@ runs:
52
60
run : conda list
53
61
54
62
- name : Checkout bokeh tests
63
+ id : tests
55
64
shell : bash -el {0}
56
65
working-directory : ./tests/bokeh
57
66
run : |
58
67
BOKEH_VERSION=$(conda list --json | jq --raw-output '.[] | select(.name=="bokeh").version')
68
+ echo "bokeh-version=${BOKEH_VERSION}" | tee --append "${GITHUB_OUTPUT}"
59
69
git checkout "${BOKEH_VERSION}"
60
70
61
71
- name : Apply test patches
Original file line number Diff line number Diff line change @@ -15,14 +15,15 @@ jobs:
15
15
uses : actions/checkout@v4
16
16
17
17
- name : Setup environment
18
+ id : setup
18
19
uses : ./.github/actions/setup-test-env
19
20
20
21
- name : Restore test cache
21
22
id : cache
22
23
uses : actions/cache@v4
23
24
with :
24
25
path : ./.bokeh_fastapi_cache
25
- key : test-${{ runner.os }}-${{ runner.arch }}|${{}}-${{}}
26
+ key : test-${{ runner.os }}-${{ runner.arch }}|${{ steps.setup.outputs.python-version }}-${{ steps.setup.outputs.bokeh-version }}
26
27
restore-keys : test-${{ runner.os }}-${{ runner.arch }}
27
28
28
29
- name : Create test cache
You can’t perform that action at this time.
0 commit comments