diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2635807..1fc0b37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,28 +9,33 @@ on: tags: '*' jobs: test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: version: - - '1.4' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'. - - '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia. - - 'nightly' + - '1.4' + - '1' os: - ubuntu-latest - macOS-latest - windows-latest arch: - x64 + include: + - version: 'nightly' + os: ubuntu-latest + arch: x64 + allow_failure: true steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v3 + - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v3 env: cache-name: cache-artifacts with: @@ -40,9 +45,9 @@ jobs: ${{ runner.os }}-test-${{ env.cache-name }}- ${{ runner.os }}-test- ${{ runner.os }}- - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@latest + - uses: julia-actions/julia-processcoverage@latest + - uses: codecov/codecov-action@v3 with: file: lcov.info diff --git a/src/ThreadedSparseArrays.jl b/src/ThreadedSparseArrays.jl index bb81591..391836b 100644 --- a/src/ThreadedSparseArrays.jl +++ b/src/ThreadedSparseArrays.jl @@ -7,11 +7,11 @@ export ThreadedSparseMatrixCSC using LinearAlgebra import LinearAlgebra: mul! using SparseArrays -import SparseArrays: getcolptr, AbstractSparseMatrixCSC +import SparseArrays: getcolptr, AbstractSparseMatrixCSC, DenseMatrixUnion const AdjOrTransDenseMatrix = if VERSION < v"1.6.0-rc2" SparseArrays.AdjOrTransStridedOrTriangularMatrix else - SparseArrays.AdjOrTransDenseMatrix + Union{DenseMatrixUnion,Adjoint{<:Any,<:DenseMatrixUnion},Transpose{<:Any,<:DenseMatrixUnion}} end # * Threading utilities