Skip to content

Commit

Permalink
improve CI script to setup Julia dev environment (e.g. setting compat…
Browse files Browse the repository at this point in the history
… entries) (#74)

Now, the script setups the dev branch versions of all QED projects in
correct order to resolve circular dependencies
Handles also the compat entries, if the QED package to test has a new
version
  • Loading branch information
SimeonEhrig authored Oct 23, 2024
2 parents 3e3d6c5 + 7036936 commit 381783c
Show file tree
Hide file tree
Showing 12 changed files with 732 additions and 246 deletions.
2 changes: 2 additions & 0 deletions .ci/SetupDevEnv/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ authors = ["Simeon Ehrig <[email protected]> and contributors"]
version = "1.0.0"

[deps]
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"

Expand Down
4 changes: 2 additions & 2 deletions .ci/SetupDevEnv/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Usage

The application `SetupDevEnv.jl` takes a `Project.toml` and adds all dependencies which match a filter rule as the development version to the current Julia environment. The first application parameter sets the Project.toml path.
The script `SetupDevEnv.jl` checks the dependencies of the current project and provides a Julia environment that provides all current development versions of the QED dependencies.

```bash
julia --project=/path/to/the/julia/environment src/SetupDevEnv.jl /path/to/Project.toml
julia --project=/path/to/the/julia/environment src/SetupDevEnv.jl
```

# Optional Environment variables
Expand Down
Loading

0 comments on commit 381783c

Please sign in to comment.