Skip to content

Commit

Permalink
Update CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Luthaf committed Nov 18, 2024
1 parent a86f6d2 commit 0498c35
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 36 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")'
Expand All @@ -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/
Expand Down
36 changes: 11 additions & 25 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 6 additions & 5 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0498c35

Please sign in to comment.