Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
test_args: "--verbose"
env:
GROUP: "GeneralAstrodynamics"
- uses: julia-actions/julia-processcoverage@v1
Expand Down
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,33 @@ or navigate to top-level of `<subpackage>` and run tests as usual:
(GeneralAstrodynamics/lib/AstrodynamicalCalculations) pkg> test
```

### Explicit imports
List available tests for a given <subpackage>:

See the documentation for [`ExplicitImports.jl`]() for standard usage. For non-package files at path `<fpath>` relative to the top-level of `<subpackage>`, run the following:
```julia-repl
> julia --proj

julia> using Pkg

julia> Pkg.test("<subpackage>"; test_args = `--list`)
```

Run specific tests for a given <subpackage>:

```julia-repl
> julia --proj

julia> using Pkg

julia> Pkg.test("<subpackage>"; test_args = `--verbose <filename>`)
```

for a given filename listed in the previous usage example. Partial matches for the start of the filename are also accepted.

### Explicit imports

See the documentation for [`ExplicitImports.jl`]() for standard usage. For non-package files at path `<fpath>` relative to the top-level of `<subpackage>`, run the following:

```julia-repl
julia> using ExplicitImports, <subpackage>

julia> include(<fpath>)
Expand Down
Loading
Loading