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 3e927c7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 30 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

0 comments on commit 3e927c7

Please sign in to comment.