Skip to content

Commit

Permalink
Update CI configuration for Julia version 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Oct 16, 2024
1 parent 90b2468 commit 1adce12
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 73 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Documentation
on:
push:
branches:
- 'master'
- 'release-'
tags: ['*']
pull_request:
jobs:
docs:
name: 'Julia 1 - ubuntu-latest'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
- name: Install dependencies
run: julia --project=docs -e 'using Pkg; Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GKSwstype: '100'
run: julia --project=docs --color=yes docs/make.jl
27 changes: 4 additions & 23 deletions .github/workflows/ci.yml → .github/workflows/Test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: CI

name: Test
on:
push:
branches:
- 'master'
- 'release-'
tags: '*'
tags: ['*']
pull_request:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- '1.6'
- '1.10'
- '1'
- 'nightly'
os:
Expand All @@ -38,20 +36,3 @@ jobs:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
- name: Install dependencies
run: julia --project=docs -e 'using Pkg; Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GKSwstype: '100'
run: julia --project=docs --color=yes docs/make.jl
Loading

0 comments on commit 1adce12

Please sign in to comment.