Skip to content

Commit

Permalink
try cache ci action with compiled & registries
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Nov 4, 2023
1 parent faa98f2 commit b2e9d64
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 25 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,20 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: ['1.6', '1', 'nightly']
os: [ubuntu-latest]
arch: [x64]
include:
- os: windows-latest
julia-version: '1'
arch: x64
- os: windows-latest
julia-version: '1'
arch: x86
julia-version: ['1', 'nightly']
os: [ubuntu-latest, windows-latest, macOS-latest]
arch: [x64, x86]
exclude:
- os: macOS-latest
julia-version: '1'
arch: x64
- os: ubuntu-latest
julia-version: '1'
arch: x86

steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/cache@c230faccef3cc0e9635c9ecd740065462918349e
with:
cache-compiled: true
cache-name: ${{ matrix.julia-version }}-${{ matrix.arch }}
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
17 changes: 9 additions & 8 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ end

ensure_imagemagick()
@testset "PNGFiles" begin
include("test_pngsuite.jl")
include("test_paletted_images.jl")
include("test_testimages.jl")
include("test_synthetic_images.jl")
include("test_invalid_inputs.jl")
include("test_images_with_background.jl")
include("test_io.jl")
include("test_various_array_types.jl")
@test true
# include("test_pngsuite.jl")
# include("test_paletted_images.jl")
# include("test_testimages.jl")
# include("test_synthetic_images.jl")
# include("test_invalid_inputs.jl")
# include("test_images_with_background.jl")
# include("test_io.jl")
# include("test_various_array_types.jl")
end

# Cleanup
Expand Down

0 comments on commit b2e9d64

Please sign in to comment.