diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b7951c0..fc916a9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,13 +9,13 @@ on: jobs: build-and-publish: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: setup Julia - uses: julia-actions/setup-julia@v1 + uses: julia-actions/setup-julia@v2 with: - version: 1.6 + version: lts - name: build documentation run: | julia -e 'using Pkg; Pkg.add("Documenter")' @@ -35,7 +35,7 @@ jobs: fi - name: deploy to gh-pages if: github.event_name == 'push' - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./gh-pages/ diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 76c1cfc..274701d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,43 +15,29 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04] - julia-version: ["1.6", "1.8", "nightly"] - julia-arch: [x64] + os: [ubuntu-24.04] + julia-version: [lts, "1.11", "nightly"] include: - - name: Linux 32-bit - os: ubuntu-20.04 - julia-version: "1.6" - julia-arch: x86 - # This fails with "A dynamic link library (DLL) initialization routine failed." - # - name: Windows 32-bit - # os: windows-2019 - # julia-version: "1.6" - # julia-arch: x86 - - name: Windows 64-bit - os: windows-2019 - julia-version: "1.6" - julia-arch: x64 - - os: macos-11 - julia-version: "1.6" - julia-arch: x64 + - os: windows-2022 + julia-version: lts + - os: macos-14 + julia-version: lts steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: setup Julia - uses: julia-actions/setup-julia@v1 + uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.julia-version }} - arch: ${{ matrix.julia-arch }} - name: build package run: julia --check-bounds=yes --inline=no --project -e 'using Pkg; Pkg.build("Chemfiles")' - name: run tests run: julia --check-bounds=yes --inline=no --project -e 'using Pkg; Pkg.test("Chemfiles"; coverage=true)' - name: run extra checks - if: matrix.os == 'ubuntu-20.04' + if: matrix.os == 'ubuntu-24.04' run: ./scripts/check_used_functions.py - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v3 - if: matrix.os == 'ubuntu-20.04' + - uses: codecov/codecov-action@v5 + if: matrix.os == 'ubuntu-24.04' with: fail_ci_if_error: true verbose: true diff --git a/docs/make.jl b/docs/make.jl index 222fc30..65c0213 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -52,7 +52,6 @@ using AtomsBase makedocs( sitename="Chemfiles.jl", modules=[Chemfiles], - strict=true, checkdocs=:all, format=Documenter.HTML( prettyurls=get(ENV, "CI", nothing) == "true", diff --git a/docs/src/index.md b/docs/src/index.md index 03b782d..e41bbd8 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -7,12 +7,13 @@ The Julia interface to chemfiles wraps around the C interface providing a Julian API. All the functionalities are in the `Chemfiles` module, which can be imported by the `using Chemfiles` expression. The `Chemfiles` module is built around the main types of chemfiles: [`Trajectory`](@ref), [`Frame`](@ref), -[`UnitCell`](@ref), [`Topology`](@ref), [`Residue`](@ref), [`Chemfiles.Atom`](@ref), and -[`Selection`](@ref). +[`UnitCell`](@ref), [`Topology`](@ref), [`Residue`](@ref), +[`Chemfiles.Atom`](@ref), and [`Selection`](@ref). -Note that the integrates with the [AtomsBase](https://github.com/JuliaMolSim/AtomsBase.jl) -ecosystem via appropriate conversion routines. See [AtomsBase integration](@ref) -for more details. +Note that chemfiles integrates with the +[AtomsBase](https://github.com/JuliaMolSim/AtomsBase.jl) ecosystem via +appropriate conversion routines. See [AtomsBase integration](@ref) for more +details. !!! warning