Open n8jhj opened 9 months ago
Humm, I don't see yarn exec env
anywhere in the page... Usually I just use yarn install
and it works.
Also, do you want to contribute to robocorp-code or robotframework-lsp?
Humm, I don't see
yarn exec env
anywhere in the page... Usually I just useyarn install
and it works.
You're correct. I went down the path of install page > corepack page (linked in my question) to figure out how to install yarn and found yarn exec env
there. I'll give yarn install
a try and get back to you.
Also, do you want to contribute to robocorp-code or robotframework-lsp?
robotframework-lsp. I thought robocorp-code was a part of lsp?
(However, since writing this question, a bug I was pursuing in LSP turned out to actually be a bug in robotframework. So I'll be looking to contribute there.)
Is your feature request related to a problem? Please describe.
I'm trying to contribute to robotframework-lsp but don't know how to run the tests. There are a few sticking points I've noticed so far in following the directions on the Contributing page:
yarn exec env
, I get an unhelpful SyntaxError.I'm on Ubuntu Linux, if that helps.
It would be helpful if there were even some mention of what Yarn is needed for. Maybe for the specific thing I want to test, Yarn isn't even required. I would be happy if that were the case.
robocorp-code/
I notice a poetry.lock and[tool.poetry]
section in pyproject.toml. Luckily I am a heavy user of Poetry and knew what to do to install dependencies. (Ideactivate
d my virtual environment created via the instructions on the Contrib page, rancd robocorp-code
, and ranpoetry install
.)poetry run pytest
from withinrobocorp-code/
, I am getting lots of errors withAssertionError: CI_ENDPOINT env variable must be specified for tests.
I could not find any instructions on what that should be set to.Describe the solution you'd like
I want the Contrib page to be updated to address these points.
Describe alternatives you've considered
I can't think of any viable alternatives.