Skip to content

Commit 56194a3

Browse files
authored
Merge pull request #401 from bollwyvl/update-ci
remove travis, update setup-miniconda
2 parents 192d016 + ad687df commit 56194a3

File tree

5 files changed

+11
-59
lines changed

5 files changed

+11
-59
lines changed

.github/workflows/job.lint.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ jobs:
3333
nodejs: '${{ matrix.nodejs }}'
3434

3535
- name: Set up Python and conda
36-
uses: goanpeca/setup-miniconda@v1
36+
uses: conda-incubator/setup-miniconda@v2
3737
with:
3838
python-version: ${{ matrix.python }}
39-
channels: conda-forge, defaults
4039
channel-priority: true
4140
activate-environment: jupyterlab-lsp
4241
environment-file: requirements/github-actions.yml

.github/workflows/job.test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ env:
2929
3030
jobs:
3131
acceptance:
32-
runs-on: ${{ matrix.os }}
33-
name: ${{ matrix.os }}, Python ${{ matrix.python }}, Node ${{ matrix.nodejs }}
32+
runs-on: ${{ matrix.os }}-latest
33+
name: ${{ matrix.os }} py${{ matrix.python }} node${{ matrix.nodejs }}
3434
strategy:
3535
# TODO: maybe turn back on
3636
fail-fast: false
3737
matrix:
38+
os: [ubuntu, macos, windows]
3839
python: [3.6, 3.7, 3.8]
39-
os: [ubuntu-16.04, macos-10.14, vs2017-win2016]
4040
lab: ['>=2.2.0,<3.0.0a0']
4141
include:
4242
# if using 3.6, use an old node
@@ -74,10 +74,9 @@ jobs:
7474
key: ${{ matrix.os }}-${{ matrix.python }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements/github-actions.yml') }}
7575

7676
- name: Set up Python and conda
77-
uses: goanpeca/setup-miniconda@v1
77+
uses: conda-incubator/setup-miniconda@v2
7878
with:
7979
python-version: ${{ matrix.python }}
80-
channels: conda-forge, defaults
8180
channel-priority: true
8281
auto-activate-base: true
8382
activate-environment: jupyterlab-lsp
@@ -119,12 +118,13 @@ jobs:
119118
run: cd dist && python -m pip install jupyter_lsp-${{ env.PY_JLSP_VERSION }}-py3-none-any.whl --no-deps
120119

121120
- name: Find out jedi cache location
122-
run: python -c 'import jedi; print("::set-env name=JEDI_CACHE_DIR::" + jedi.settings.cache_directory)'
121+
id: jedi-cache
122+
run: python -c 'import jedi; print("::set-output name=dir::" + jedi.settings.cache_directory)'
123123

124124
- name: Cache jedi cache
125125
uses: actions/cache@v1
126126
with:
127-
path: ${{ env.JEDI_CACHE_DIR }}
127+
path: ${{ steps.jedi-cache.outputs.dir }}
128128
key: jedi-${{ matrix.os }}-${{ hashFiles('scripts/jedi_cache.py') }}-${{ hashFiles('requirements/github-actions.yml') }}
129129

130130
- name: Warm up jedi cache
@@ -144,7 +144,7 @@ jobs:
144144
run: python scripts/tectonic_cache.py
145145

146146
- name: Run frontend unit tests
147-
if: ${{ !contains(matrix.os, 'win') }}
147+
if: ${{ !contains(matrix.os, 'windows') }}
148148
run: jlpm test
149149

150150
# js_cov_packages:

.travis.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Language Server Protocol integration for Jupyter(Lab)
22

3-
[![Build Status](https://travis-ci.org/krassowski/jupyterlab-lsp.svg?branch=master)](https://travis-ci.org/krassowski/jupyterlab-lsp) ![tests](https://github.com/krassowski/jupyterlab-lsp/workflows/tests/badge.svg) [![Documentation Status](https://readthedocs.org/projects/jupyterlab-lsp/badge/?version=latest)](https://jupyterlab-lsp.readthedocs.io/en/latest/?badge=latest) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/krassowski/jupyterlab-lsp/master?urlpath=lab%2Ftree%2Fexamples%2FPython.ipynb)
3+
![tests](https://github.com/krassowski/jupyterlab-lsp/workflows/tests/badge.svg) [![Documentation Status](https://readthedocs.org/projects/jupyterlab-lsp/badge/?version=latest)](https://jupyterlab-lsp.readthedocs.io/en/latest/?badge=latest) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/krassowski/jupyterlab-lsp/master?urlpath=lab%2Ftree%2Fexamples%2FPython.ipynb)
44

55
> _This project is still maturing, but you are welcome to check it out, leave feedback and/or a PR_
66

packages/jupyterlab-go-to-definition/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Go to definition extension for JupyterLab
22

3-
[![Build Status](https://travis-ci.org/krassowski/jupyterlab-go-to-definition.svg?branch=master)](https://travis-ci.org/krassowski/jupyterlab-go-to-definition) [![codebeat badge](https://codebeat.co/badges/89f4b78a-c28e-43a0-9b4c-35d36dbd9d5e)](https://codebeat.co/projects/github-com-krassowski-jupyterlab-go-to-definition-master) [![Binder](https://beta.mybinder.org/badge.svg)](https://mybinder.org/v2/gh/krassowski/jupyterlab-go-to-definition/master?urlpath=lab/tree/examples/demo.ipynb)
3+
[![codebeat badge](https://codebeat.co/badges/89f4b78a-c28e-43a0-9b4c-35d36dbd9d5e)](https://codebeat.co/projects/github-com-krassowski-jupyterlab-go-to-definition-master) [![Binder](https://beta.mybinder.org/badge.svg)](https://mybinder.org/v2/gh/krassowski/jupyterlab-go-to-definition/master?urlpath=lab/tree/examples/demo.ipynb)
44

55
Jump to definition of a variable or function in JupyterLab notebook and file editor.
66

0 commit comments

Comments
 (0)