Skip to content

Commit

Permalink
Set minimum Julia version to 1.10 and bump version
Browse files Browse the repository at this point in the history
Also fix the docs.
  • Loading branch information
JamesWrigley committed Jan 23, 2025
1 parent c3e05a2 commit c398a56
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 31 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
tags: '*'
pull_request:

permissions:
contents: read
actions: write

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
Expand All @@ -15,37 +19,21 @@ jobs:
fail-fast: false
matrix:
include:
- { os: ubuntu-latest, version: '1.0', arch: x64}
- { os: ubuntu-latest, version: '1.1', arch: x64}
- { os: ubuntu-latest, version: '1.2', arch: x64}
- { os: ubuntu-latest, version: '1.3', arch: x64}
- { os: ubuntu-latest, version: '1.4', arch: x64}
- { os: ubuntu-latest, version: '1.5', arch: x64}
- { os: ubuntu-latest, version: '1.6', arch: x64}
- { os: ubuntu-latest, version: '^1.7.0-0', arch: x64}
- { os: ubuntu-latest, version: '1.10', arch: x64}
- { os: ubuntu-latest, version: 'nightly', arch: x64}
- { os: ubuntu-latest, version: '1', arch: x86 }
- { os: windows-latest, version: '1', arch: x64}
- { os: macOS-latest, version: '1', arch: x64}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: julia-actions/setup-julia@v1
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}

- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/cache@v2

- run: |
git config --global user.name Tester
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- uses: julia-actions/cache@v2
- name: Install dependencies
run: |
julia --project=docs/ -e '
using Pkg
Pkg.develop([PackageSpec(path=joinpath(pwd(), "InlineTest")),
PackageSpec(path=pwd())])
Pkg.instantiate()'
julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ReTest"
uuid = "e0db7c4e-2690-44b9-bad6-7687da720f89"
authors = ["Rafael Fourquet <[email protected]>"]
version = "0.3.3"
version = "0.3.4"

[deps]
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Expand All @@ -16,7 +16,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
InlineTest = "=0.2.0"
Revise = "3.1"
PrecompileTools = "1.2.1"
julia = "1"
julia = "1.10"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Expand Down
4 changes: 4 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ ReTest = "e0db7c4e-2690-44b9-bad6-7687da720f89"

[compat]
Documenter = "1"

[sources]
ReTest = { path = ".." }
InlineTest = { path = "../InlineTest" }
5 changes: 3 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using Documenter, ReTest

makedocs(sitename = "ReTest.jl",
modules = [ReTest, ReTest.InlineTest])
makedocs(; sitename = "ReTest.jl",
modules = [ReTest, ReTest.InlineTest],
warnonly=[:missing_docs])


deploydocs(
Expand Down

0 comments on commit c398a56

Please sign in to comment.