jupyter-widgets / widget-ts-cookiecutter

A highly opinionated cookiecutter template for ipywidget extensions.
BSD 3-Clause "New" or "Revised" License
121 stars 55 forks source link

Actions workflow broken for ubuntu #121

Closed renefritze closed 1 year ago

renefritze commented 1 year ago

I've created a new project from this cookiecutter (@ https://github.com/jupyter-widgets/widget-ts-cookiecutter/commit/82f4a6c9ecf5f775a63e48ef3dc567e835300783). The build workflow for macOS and windows work, but ubuntu results in errors (because the linter is only run there).

Run yarn run lint:check
  yarn run lint:check
  shell: /usr/bin/bash -e {0}
  env:
    PYTHON_VERSION: 3.10
    NODE_VERSION: 16.x
    CACHE_PREFIX: Linux-Build-build
    pythonLocation: /opt/hostedtoolcache/Python/3.10.8/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.8/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.8/x64
    Python[2](https://github.com/pymor/pyvtkjs/actions/runs/3486974399/jobs/5834064436#step:6:2)_ROOT_DIR: /opt/hostedtoolcache/Python/[3](https://github.com/pymor/pyvtkjs/actions/runs/3486974399/jobs/5834064436#step:6:3).10.8/x6[4](https://github.com/pymor/pyvtkjs/actions/runs/3486974399/jobs/5834064436#step:6:4)
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.8/x[6](https://github.com/pymor/pyvtkjs/actions/runs/3486974399/jobs/5834064436#step:6:6)4
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.[8](https://github.com/pymor/pyvtkjs/actions/runs/3486974399/jobs/5834064436#step:6:8)/x64/lib
Error: An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/pyvtkjs/pyvtkjs/jupyter-widget-testwidgets'. No such file or directory

https://github.com/pymor/pyvtkjs/actions/runs/3486974399/jobs/5834064436

Looks like there are some dirs hardcoded that should be template evaluations instead?

renefritze commented 1 year ago

Just removing the jupyter-widget-testwidgets bits works for me.