@@ -66,71 +66,71 @@ jobs:
6666 name : lib
6767 path : lib
6868
69- test :
70- needs : build
71- runs-on : ubuntu-20.04
72- strategy :
73- matrix :
74- jupyterlab_version : ["jupyterlab==3.*"]
75- # jupyterlab_version: ["jupyterlab==3.*", "jupyterlab==2.*"] # TODO: fix jupyterlab 2 tests
76- services :
77- minio :
78- image : lazybit/minio
79- ports :
80- - 9000:9000
81- env :
82- MINIO_ACCESS_KEY : ACCESS_KEY
83- MINIO_SECRET_KEY : SECRET_KEY
84- volumes :
85- - /minio-data:/data
86- options : --health-cmd "curl --fail http://localhost:9000/minio/health/live" --health-interval 30s --health-timeout 5s --health-retries 3
87- steps :
88- - uses : actions/checkout@v2
89- - name : download build artifacts
90- uses : actions/download-artifact@v2
91- - uses : actions/setup-python@v2
92- with :
93- python-version : " 3.9"
94-
95- - name : Install JupyterLab
96- run : pip install ${{ matrix.jupyterlab_version }}
97-
98- - name : Install extension
99- run : pip install dist/*.whl && jupyter serverextension enable --py jupyterlab_s3_browser
100-
101- - name : Install extension (JupyterLab 2 only)
102- run : jupyter labextension install .
103- if : ${{ matrix.jupyterlab_version == 'jupyterlab==2.*' }}
104-
105- - name : allow cypress to access minio-data mount
106- run : sudo chown -R 1001:1001 /minio-data
107-
108- - uses : cypress-io/github-action@v2
109- with :
110- start : jupyter lab --no-browser --ServerApp.password='' --ServerApp.token='' --NotebookApp.token='' --NotebookApp.password=''
111- browser : chrome
112- headless : true
113- wait-on : " http://localhost:8888/lab"
114- wait-on-timeout : 120
115- env :
116- JUPYTERLAB_S3_ENDPOINT : http://localhost:9000
117- JUPYTERLAB_S3_ACCESS_KEY_ID : ACCESS_KEY
118- JUPYTERLAB_S3_SECRET_ACCESS_KEY : SECRET_KEY
119- CYPRESS_S3_FOLDER : /minio-data
120- CYPRESS_CI : true
121-
122- - uses : actions/upload-artifact@v1
123- if : failure()
124- with :
125- name : cypress-screenshots
126- path : cypress/screenshots
127-
128- - uses : actions/upload-artifact@v1
129- if : always()
130- with :
131- name : cypress-videos
132- path : cypress/videos
133-
69+ # test:
70+ # needs: build
71+ # runs-on: ubuntu-20.04
72+ # strategy:
73+ # matrix:
74+ # jupyterlab_version: ["jupyterlab==3.*"]
75+ # # jupyterlab_version: ["jupyterlab==3.*", "jupyterlab==2.*"] # TODO: fix jupyterlab 2 tests
76+ # services:
77+ # minio:
78+ # image: lazybit/minio
79+ # ports:
80+ # - 9000:9000
81+ # env:
82+ # MINIO_ACCESS_KEY: ACCESS_KEY
83+ # MINIO_SECRET_KEY: SECRET_KEY
84+ # volumes:
85+ # - /minio-data:/data
86+ # options: --health-cmd "curl --fail http://localhost:9000/minio/health/live" --health-interval 30s --health-timeout 5s --health-retries 3
87+ # steps:
88+ # - uses: actions/checkout@v2
89+ # - name: download build artifacts
90+ # uses: actions/download-artifact@v2
91+ # - uses: actions/setup-python@v2
92+ # with:
93+ # python-version: "3.9"
94+ #
95+ # - name: Install JupyterLab
96+ # run: pip install ${{ matrix.jupyterlab_version }}
97+ #
98+ # - name: Install extension
99+ # run: pip install dist/*.whl && jupyter serverextension enable --py jupyterlab_s3_browser
100+ #
101+ # - name: Install extension (JupyterLab 2 only)
102+ # run: jupyter labextension install .
103+ # if: ${{ matrix.jupyterlab_version == 'jupyterlab==2.*' }}
104+ #
105+ # - name: allow cypress to access minio-data mount
106+ # run: sudo chown -R 1001:1001 /minio-data
107+ #
108+ # - uses: cypress-io/github-action@v2
109+ # with:
110+ # start: jupyter lab --no-browser --ServerApp.password='' --ServerApp.token='' --NotebookApp.token='' --NotebookApp.password=''
111+ # browser: chrome
112+ # headless: true
113+ # wait-on: "http://localhost:8888/lab"
114+ # wait-on-timeout: 120
115+ # env:
116+ # JUPYTERLAB_S3_ENDPOINT: http://localhost:9000
117+ # JUPYTERLAB_S3_ACCESS_KEY_ID: ACCESS_KEY
118+ # JUPYTERLAB_S3_SECRET_ACCESS_KEY: SECRET_KEY
119+ # CYPRESS_S3_FOLDER: /minio-data
120+ # CYPRESS_CI: true
121+ #
122+ # - uses: actions/upload-artifact@v1
123+ # if: failure()
124+ # with:
125+ # name: cypress-screenshots
126+ # path: cypress/screenshots
127+ #
128+ # - uses: actions/upload-artifact@v1
129+ # if: always()
130+ # with:
131+ # name: cypress-videos
132+ # path: cypress/videos
133+ #
134134 publish :
135135 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
136136 needs : [build, test]
0 commit comments