Skip to content

Commit e27268d

Browse files
committed
run tests
1 parent e75fd32 commit e27268d

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

.github/workflows/test.yml

+28-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@v4
16-
with:
17-
fetch-depth: 0
1816

1917
- name: Setup environment
2018
id: setup
@@ -32,3 +30,31 @@ jobs:
3230
if: steps.cache.outputs.cache-hit != 'true'
3331
working-directory: ./tests/bokeh
3432
run: pytest tests/unit || true
33+
run:
34+
needs:
35+
- detect-usage
36+
37+
runs-on: ubuntu-latest
38+
defaults:
39+
run:
40+
shell: bash -el {0}
41+
42+
steps:
43+
- name: Checkout repository
44+
uses: actions/checkout@v4
45+
46+
- name: Setup environment
47+
id: setup
48+
uses: ./.github/actions/setup-test-env
49+
50+
- name: Restore test cache
51+
id: cache
52+
uses: actions/cache@v4
53+
with:
54+
path: ./.bokeh_fastapi_cache
55+
key: test-${{ runner.os }}-${{ runner.arch }}|${{ steps.setup.outputs.python-version }}-${{ steps.setup.outputs.bokeh-version }}
56+
restore-keys: test-${{ runner.os }}-${{ runner.arch }}
57+
58+
- name: Run tests
59+
working-directory: ./tests/bokeh
60+
run: pytest

0 commit comments

Comments
 (0)