Move tests to a separate package; update GitHub CI and docs

This commit is contained in:
2023-02-15 11:53:28 -06:00
parent a8e4491ea3
commit 22d73c9ded
33 changed files with 463 additions and 520 deletions

View File

@@ -14,10 +14,10 @@ jobs:
shell: julia --color=yes {0}
run: |
using Pkg
Pkg.add(PackageSpec(name="JuliaFormatter", version="0.14.4"))
Pkg.add(PackageSpec(name="JuliaFormatter", version="1"))
using JuliaFormatter
format("src", verbose=true)
format("test", verbose=true)
format("test/src", verbose=true)
out = String(read(Cmd(`git diff`)))
if isempty(out)
exit(0)

View File

@@ -21,5 +21,15 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- name: Run tests
shell: julia --color=yes --project=test {0}
run: |
using Pkg
Pkg.develop(path=".")
Pkg.update()
using RELOGT
try
runtests()
catch
exit(1)
end