-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Python 3.12 - Julia 1.10 - R 4.3.2 - All versions of packages dependencies - Update GHA workflow accordingly - Add dev documentation - Adapt for newer Julia action issue julia-actions/[email protected] is using `tar` for Windows installation now but uses any `tar` from PATH. However, it requires a `tar.exe` that can handle Windows paths with drive letters. In our workflow, `tar` is found in `/usr/bin/tar` from rtools being added to PATH. This leads to error as it does not support the drive letters. Not adding rtools to PATH will solve, and should not impact the workflow as pak is used for R packages installation. More details about this issue at julia-actions/setup-julia#205
- Loading branch information
Showing
9 changed files
with
1,256 additions
and
1,127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Installing and configuring the main tools | ||
|
||
## Julia | ||
|
||
- Install `juliaup` | ||
- Install version to use e.g `juliaup add 1.10` | ||
- Configure `tests` folder to use a specific version | ||
|
||
``` | ||
cd tests | ||
juliaup override unset | ||
juliaup override 1.10 | ||
``` | ||
|
||
This way when calling `julia` in `tests` folder it will always be Julia 1.10 version | ||
|
||
## Python | ||
|
||
- Install `pyenv` | ||
- Install a specic version e.g `pyenv install 3.12.1` | ||
- Configure `tests` to use a specific version | ||
|
||
``` | ||
cd tests | ||
pyenv local 3.12.1 | ||
``` | ||
|
||
This way when calling `python` in `tests` folder it will always be Python 3.12.1 version | ||
|
||
## R | ||
|
||
- Install `rig` | ||
- Install R version e.g `rig add 4.3.2` | ||
- For now, no way to just configure a folder to use a specific version, so you need to set the version globally | ||
|
||
``` | ||
rig default 4.3.2 | ||
``` | ||
|
||
## NPM | ||
|
||
- Install `npm` needed for meca | ||
|
||
# Installing the dependencies in each languages packages | ||
|
||
- From `tests` folder, run `configure-test-env` scripts to restore dependencies for each tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.11.1 | ||
3.12.1 |
Oops, something went wrong.