forked from bokeh/bokeh
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (40 loc) · 1.12 KB
/
bokeh-docker-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Bokeh-Docker-Test
on:
push:
branches:
- main
- branch-*
pull_request:
jobs:
docker-test:
runs-on: ubuntu-latest
env:
IMAGE_TAG: bokeh/bokeh-dev:branch-3.1
steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # full history to get proper build version
- name: Start Docker container, build Bokeh and run tests.
env:
BOKEH_DOCKER_BUILD: 1
BOKEH_DOCKER_TEST: 1
BOKEH_DOCKER_INTERACTIVE: 0
run: |
scripts/docker/docker_run.sh $IMAGE_TAG
- name: Collect results
shell: bash
run: |
SRC="bokehjs/test/baselines/linux"
DST="bokeh-report-docker/${SRC}"
mkdir -p ${DST}
if [[ -e ${SRC}/report.json ]];
then
CHANGED=$(git status --short ${SRC}/\*.blf ${SRC}/\*.png | cut -c4-)
cp ${SRC}/report.json ${CHANGED} ${DST}
fi
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: bokeh-report-docker
path: bokeh-report-docker