Skip to content

fix: 🐛 尝试通过「@kwdefBase.@kwdef」的方式 兼容Julia低版本 #2

fix: 🐛 尝试通过「@kwdefBase.@kwdef」的方式 兼容Julia低版本

fix: 🐛 尝试通过「@kwdefBase.@kwdef」的方式 兼容Julia低版本 #2

Workflow file for this run

name: CI
on:
- push
- pull_request
env:
JULIA_NUM_THREADS: auto
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
# Versions below 1.5 cause of compat@`include`:
- "1.5"
- "1.6"
- "1.7"
- "1.8"
- "1.9"
- "1" # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
- "nightly"
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
# - 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 }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
# continue-on-error: ${{ matrix.version == 'nightly' }}
# - uses: julia-actions/julia-processcoverage@v1
# - name: Upload datas to Codecov
# uses: codecov/codecov-action@v1
# with:
# file: lcov.info