2929
3030jobs :
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
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:
0 commit comments