|
20 | 20 |
|
21 | 21 | PYTHONUNBUFFERED: 1
|
22 | 22 | ATEST_RETRIES: 3
|
| 23 | + PIP_DISABLE_PIP_VERSION_CHECK: 1 |
23 | 24 |
|
24 | 25 | # TODO: replace once mambaforge "just works" with setup-miniconda
|
25 | 26 | MAMBAFORGE_URL: https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge
|
@@ -184,7 +185,7 @@ jobs:
|
184 | 185 | mkdir dist
|
185 | 186 | cp python_packages/*/dist/* packages/*/*.tgz dist/
|
186 | 187 | cd dist
|
187 |
| - sha256sum * > SHA256SUMS |
| 188 | + sha256sum * | tee SHA256SUMS |
188 | 189 |
|
189 | 190 | - name: Publish builds
|
190 | 191 | uses: actions/upload-artifact@v2
|
@@ -321,3 +322,55 @@ jobs:
|
321 | 322 | name: ${{ job.status }} Robot ${{ matrix.os }} Python ${{ matrix.python }} ${{ github.run_number }}
|
322 | 323 | path: ./atest/output
|
323 | 324 | if: always()
|
| 325 | + |
| 326 | + smoke: |
| 327 | + name: smoke ${{ matrix.os }} py${{ matrix.python }} |
| 328 | + runs-on: ${{ matrix.os }}-latest |
| 329 | + needs: [build, lint] |
| 330 | + strategy: |
| 331 | + fail-fast: false |
| 332 | + matrix: |
| 333 | + os: [ubuntu, macos, windows] |
| 334 | + python: ['3.6', '3.9', 'pypy3'] |
| 335 | + exclude: |
| 336 | + - os: windows |
| 337 | + python: pypy3 |
| 338 | + include: |
| 339 | + - python: '3.6' |
| 340 | + dist: 'jupyter*lsp*.tar.gz' |
| 341 | + - python: 'pypy3' |
| 342 | + dist: 'jupyter*lsp*.tar.gz' |
| 343 | + - python: '3.9' |
| 344 | + dist: 'jupyter*lsp*.whl' |
| 345 | + - os: windows |
| 346 | + py_cmd: python |
| 347 | + - os: macos |
| 348 | + py_cmd: python3 |
| 349 | + - os: ubuntu |
| 350 | + py_cmd: python |
| 351 | + steps: |
| 352 | + - name: Install Python |
| 353 | + uses: actions/setup-python@v2 |
| 354 | + with: |
| 355 | + python-version: ${{ matrix.python }} |
| 356 | + architecture: 'x64' |
| 357 | + - uses: actions/download-artifact@v2 |
| 358 | + with: |
| 359 | + name: jupyterlab-lsp dist ${{ github.run_number }} |
| 360 | + path: ./dist |
| 361 | + - name: Install the prerequisites |
| 362 | + run: ${{ matrix.py_cmd }} -m pip install pip wheel |
| 363 | + - name: Install the package |
| 364 | + run: cd dist && ${{ matrix.py_cmd }} -m pip install -vv ${{ matrix.dist }} |
| 365 | + - name: Validate environment |
| 366 | + run: | |
| 367 | + set -eux |
| 368 | + ${{ matrix.py_cmd }} -m pip freeze |
| 369 | + ${{ matrix.py_cmd }} -m pip check |
| 370 | + - name: Validate the install |
| 371 | + run: | |
| 372 | + set -eux |
| 373 | + jupyter labextension list |
| 374 | + jupyter server extension list |
| 375 | + jupyter labextension list 2>&1 | grep -ie "jupyterlab-lsp.*enabled.*ok" - |
| 376 | + jupyter server extension list 2>&1 | grep -ie "jupyter_lsp.*enabled" - |
0 commit comments