-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (38 loc) · 1.09 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
push
jobs:
call_test:
name: Test on Julia ${{ matrix.version }} - ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.8" # Minimum compatible Release
- "1" # Latest Release
os:
- ubuntu-latest
- windows-latest
python-version: ["3.11"]
uses: ./.github/workflows/Test.yml
with:
host-os: ${{ matrix.os }}
julia-version: ${{ matrix.version }}
python-version: ${{ matrix.python-version }}
secrets: inherit
Documenter:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
julia ./.install_spinedb_api.jl
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- uses: julia-actions/julia-docdeploy@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}