ExplainableAI v0.9.0
#484
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
tags: ['*'] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created | |
actions: write | |
contents: read | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- 'lts' | |
- '1' | |
- 'pre' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
arch: x64 | |
- uses: julia-actions/cache@v2 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-runtest@v1 | |
- uses: julia-actions/julia-processcoverage@v1 | |
with: | |
directories: src,ext,test,benchmark | |
- uses: codecov/codecov-action@v4 | |
with: | |
files: lcov.info | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: Julia-XAI/ExplainableAI.jl | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created | |
contents: write | |
statuses: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: '1' | |
- uses: julia-actions/cache@v2 | |
- name: Configure doc environment | |
shell: julia --project=docs --color=yes {0} | |
run: | | |
using Pkg | |
Pkg.Registry.update() | |
Pkg.develop(PackageSpec(path=pwd())) | |
Pkg.instantiate() | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-docdeploy@v1 | |
env: | |
DATADEPS_ALWAYS_ACCEPT: true # for MLDatasets download | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | |
- name: Run doctests | |
run: | | |
julia --project=docs --color=yes -e ' | |
using Documenter: doctest | |
using ExplainableAI | |
doctest(ExplainableAI)' |