Skip to content

Commit

Permalink
E2E test: README update for alternate interpreters
Browse files Browse the repository at this point in the history
  • Loading branch information
testlabauto committed Feb 20, 2025
1 parent 91fedb4 commit a764b57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ An [example test](https://github.com/posit-dev/positron/blob/main/test/e2e/examp

### Environment Variables

In order to run the tests you'll need to have two environment variables set. These are so Positron knows what R and Python versions to load. A typical place to set them on a mac is in your `.zshrc`, but you should use your environment variable setting method of choice!
In order to run the tests you'll need to have four environment variables set. These are so Positron knows what R and Python versions to load. A typical place to set them on a mac is in your `.zshrc`, but you should use your environment variable setting method of choice!

Make sure you have the selected R and Python version installed that you are using for the environment variables. The easiest way is to open Positron and copy a version number you have available in the interpreter picker.

Expand All @@ -44,8 +44,12 @@ Add these to your .zshrc or the relevant configuration file for your shell:
```bash
export POSITRON_PY_VER_SEL="3.11.5"
export POSITRON_R_VER_SEL="4.2.1"
export POSITRON_PY_ALT_VER_SEL='3.13.0 (Pyenv)'
export POSITRON_R_ALT_VER_SEL='4.4.2'
```

_Note: The environment variables with `ALT` in them are for the alternate interpreters which are used in fewer tests and might not be immediatly needed. If you are using Pyenv for your alternate Python interpreter, please add ` (Pyenv)` to the variable value._

_Note: If you forgot to set the environment variables before running the tests, you'll need to restart your editor or shell session for the environment variables to be loaded in._

## Dependencies
Expand Down

0 comments on commit a764b57

Please sign in to comment.