@@ -2,11 +2,11 @@ name: CI
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - ' master'
5
+ branches :
6
+ - " master"
7
7
pull_request :
8
- branches :
9
- - ' master'
8
+ branches :
9
+ - " master"
10
10
11
11
jobs :
12
12
build-examples-templates-and-run-dockerized-e2e-tests :
@@ -30,56 +30,56 @@ jobs:
30
30
31
31
env :
32
32
NODE_VERSION : ${{ matrix.node_version }}
33
- PYTHON_VERSION : 3.8 # Oldest version supported by Streamlit
33
+ PYTHON_VERSION : 3.8 # Oldest version supported by Streamlit
34
34
STREAMLIT_VERSION : ${{ matrix.streamlit_version }}
35
35
COMPONENT_LIB_VERSION : ${{ matrix.component_lib_version }}
36
36
37
37
name : Examples + Templates / node_version=${{ matrix.node_version }} / streamlit_version=${{ matrix.streamlit_version }} / component_lib_version=${{ matrix.component_lib_version }}
38
38
39
39
steps :
40
- - uses : actions/checkout@v3
41
- with :
42
- persist-credentials : false
43
- path : component-template
44
-
45
- - name : Use Node.js ${{ env.NODE_VERSION }}
46
- uses : actions/setup-node@v3
47
- with :
48
- node-version : ${{ env.NODE_VERSION }}
49
-
50
- - name : Check dependencies for examples
51
- run : ./dev.py examples-check-deps
52
- working-directory : ./component-template/
53
-
54
- - name : Check e2e utils files
55
- run : ./dev.py e2e-utils-check
56
- working-directory : ./component-template/
57
-
58
- - name : Pack Streamlit Component Library
59
- uses : ./component-template/.github/actions/pack_streamlit_component_library
60
- if : matrix.component_lib_version == 'develop'
61
- id : streamlit_component_library
62
-
63
- - name : Build components wheels
64
- uses : ./component-template/.github/actions/build_component_wheels
65
- id : component_wheels
66
- with :
67
- custom_streamlit_component_lib_file : >-
68
- ${{ matrix.component_lib_version == 'develop' && steps.streamlit_component_library.outputs.output_file || '' }}
69
-
70
- - name : Upload wheel packages
71
- uses : actions/upload-artifact@v4
72
- with :
73
- name : all-wheel-${{ matrix.node_version }}-${{ matrix.component_lib_version }}-${{ matrix.streamlit_version }}
74
- path : ${{ steps.component_wheels.outputs.output_directory }}/*.whl
75
- if-no-files-found : error
76
-
77
- - name : Run E2E tests
78
- if : matrix.node_version == '22.x'
79
- uses : ./component-template/.github/actions/run_e2e
80
- with :
81
- python_version : ${{ env.PYTHON_VERSION }}
82
- streamlit_version : ${{ env.STREAMLIT_VERSION }}
40
+ - uses : actions/checkout@v3
41
+ with :
42
+ persist-credentials : false
43
+ path : component-template
44
+
45
+ - name : Use Node.js ${{ env.NODE_VERSION }}
46
+ uses : actions/setup-node@v3
47
+ with :
48
+ node-version : ${{ env.NODE_VERSION }}
49
+
50
+ - name : Check dependencies for examples
51
+ run : ./dev.py examples-check-deps
52
+ working-directory : ./component-template/
53
+
54
+ - name : Check e2e utils files
55
+ run : ./dev.py e2e-utils-check
56
+ working-directory : ./component-template/
57
+
58
+ - name : Pack Streamlit Component Library
59
+ uses : ./component-template/.github/actions/pack_streamlit_component_library
60
+ if : matrix.component_lib_version == 'develop'
61
+ id : streamlit_component_library
62
+
63
+ - name : Build components wheels
64
+ uses : ./component-template/.github/actions/build_component_wheels
65
+ id : component_wheels
66
+ with :
67
+ custom_streamlit_component_lib_file : >-
68
+ ${{ matrix.component_lib_version == 'develop' && steps.streamlit_component_library.outputs.output_file || '' }}
69
+
70
+ - name : Upload wheel packages
71
+ uses : actions/upload-artifact@v4
72
+ with :
73
+ name : all-wheel-${{ matrix.node_version }}-${{ matrix.component_lib_version }}-${{ matrix.streamlit_version }}
74
+ path : ${{ steps.component_wheels.outputs.output_directory }}/*.whl
75
+ if-no-files-found : error
76
+
77
+ - name : Run E2E tests
78
+ if : matrix.node_version == '22.x'
79
+ uses : ./component-template/.github/actions/run_e2e
80
+ with :
81
+ python_version : ${{ env.PYTHON_VERSION }}
82
+ streamlit_version : ${{ env.STREAMLIT_VERSION }}
83
83
84
84
build-cookiecutter :
85
85
runs-on : ubuntu-latest
0 commit comments