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 17, 2023
1 parent faa98f2 commit 6da2687
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,19 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: ['1.6', '1', 'nightly']
# julia-version: ['1', '^1.10.0-rc1', 'nightly']
julia-version: ['nightly']
# os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ubuntu-latest]
arch: [x64]
include:
- os: windows-latest
julia-version: '1'
arch: x64
- os: windows-latest
julia-version: '1'
arch: x86
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@0464506d519f2eeaffdc914701a3d76e0a53e3b5
- 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 6da2687

Please sign in to comment.