Skip to content

Add more functions for SDK and deprecate some smalldata functions (#1… #656

Add more functions for SDK and deprecate some smalldata functions (#1…

Add more functions for SDK and deprecate some smalldata functions (#1… #656

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
- release/*
tags:
- v**
workflow_dispatch:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
env:
JULIA_PKG_SERVER: ""
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Julia
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Cache Artifacts
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 }}-
- name: Julia Build Pkg
uses: julia-actions/julia-buildpkg@latest
- name: Git Test Credentials
run: |
git config --global user.name Tester
git config --global user.email te@st.er
- name: Run tests
env:
IIF_TEST: true
DO_CGDFG_TESTS: false
DFG_USE_CGDFG: false
uses: julia-actions/julia-runtest@latest
continue-on-error: ${{ matrix.version == 'nightly' }}
- name: Process Coverage
uses: julia-actions/julia-processcoverage@v1
- name: Code Coverage
uses: codecov/codecov-action@v1
with:
file: lcov.info
docs:
needs: test
name: Documentation
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup julia
uses: julia-actions/setup-julia@v1
with:
version: '1.10'
arch: x64
- name: Build Docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: |
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia --project=docs/ docs/make.jl