Skip to content

Use Pkg workspace for docs and test environments - #167

Merged
aviatesk merged 1 commit into
masterfrom
avi/workspace-project
Sep 16, 2026
Merged

aviatesk merged 1 commit into
masterfrom
avi/workspace-project

Conversation

@aviatesk

Copy link
Copy Markdown
Member

Add a [workspace] section to the root Project.toml with docs and test as members, add test/Project.toml for test dependencies, and point both sub-projects at the package via [sources]. Drop the tracked docs/Manifest.toml, which is already gitignored and is superseded by the shared root manifest.

On Julia 1.10/1.11 the [workspace] section is ignored and test/Project.toml is used directly by Pkg.test; verified that the test suite passes on 1.10.

Add a `[workspace]` section to the root Project.toml with `docs` and
`test` as members, add `test/Project.toml` for test dependencies, and
point both sub-projects at the package via `[sources]`. Drop the tracked
`docs/Manifest.toml`, which is already gitignored and is superseded by
the shared root manifest.

On Julia 1.10/1.11 the `[workspace]` section is ignored and
`test/Project.toml` is used directly by `Pkg.test`; verified that the
test suite passes on 1.10.
@aviatesk
aviatesk merged commit d81fdd5 into master Sep 16, 2026
10 checks passed
@aviatesk
aviatesk deleted the avi/workspace-project branch September 16, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant