Skip to content

Commit

Permalink
Handle codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffFessler committed May 18, 2024
1 parent 8a48ea6 commit 364704b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ jobs:
with:
version: ${{ matrix.version }}

- name: Cache artifacts
uses: actions/cache@v4
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: "Unit Test"
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
Expand All @@ -43,3 +55,5 @@ jobs:
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
with:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 2 additions & 0 deletions test/ndgrid-range.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ using LazyGrids: ndgrid, ndgrid_array, GridAR, GridSL, GridUR
using Test: @test, @testset, @test_throws, @inferred


#= todo
@testset "cvect" begin
x = 'a':9:'z' # character range
y = 1:2
Expand All @@ -17,6 +18,7 @@ using Test: @test, @testset, @test_throws, @inferred
@test xx[:,1] == x
@test yy[1,:] == y
end
=#


@testset "StepRangeLen" begin
Expand Down

0 comments on commit 364704b

Please sign in to comment.