Skip to content

Commit

Permalink
Use Julia 1.11 for CI tests and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrolho committed Nov 9, 2024
1 parent d6df4eb commit 29e479a
Show file tree
Hide file tree
Showing 30 changed files with 836 additions and 1,140 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/ci.yml → .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
matrix:
version:
- 'lts'
- '1.9' # Temporary for notebooks
- '1.11'
os:
- ubuntu-latest
Expand Down Expand Up @@ -60,22 +59,3 @@ jobs:
- uses: codecov/codecov-action@v2
with:
file: lcov.info

docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.6'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
include("docs/make.jl")'
env:
PYTHON: ""
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
26 changes: 26 additions & 0 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Documentation

on:
push:
branches:
- master
tags: '*'
pull_request:

jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.11'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
run: julia --project=docs/ docs/make.jl
1 change: 0 additions & 1 deletion deps/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
build.log

299 changes: 0 additions & 299 deletions docs/Manifest.toml

This file was deleted.

Loading

0 comments on commit 29e479a

Please sign in to comment.