Merge pull request #335 from JuliaIO/dependabot/github_actions/action… #135
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| # matrix copied from HDF5.jl | |
| matrix: | |
| version: | |
| - '1.3' | |
| - '1' | |
| - 'nightly' | |
| os: | |
| - ubuntu-latest | |
| - macOS-latest | |
| - windows-latest | |
| arch: | |
| - x64 | |
| - x86 | |
| exclude: | |
| - os: macOS-latest | |
| arch: x86 | |
| - version: '1.3' | |
| arch: x86 | |
| - version: '1' | |
| arch: x86 | |
| os: ubuntu-latest | |
| - version: 'nightly' | |
| arch: x86 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: julia-actions/setup-julia@latest | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: ${{ matrix.arch }} | |
| - uses: julia-actions/julia-buildpkg@latest | |
| - uses: julia-actions/julia-runtest@latest | |
| - run: | | |
| julia --project --depwarn=yes --code-coverage=user -e " | |
| using Pkg | |
| url = \"https://github.com/JuliaIO/JLDArchives.jl.git\" | |
| Pkg.develop(PackageSpec(url=url)) | |
| using JLDArchives | |
| include(joinpath(dirname(dirname(pathof(JLDArchives))), \"test\", \"runtests.jl\")) | |
| " | |
| #- uses: julia-actions/julia-processcoverage@latest | |
| #- uses: codecov/codecov-action@v1 | |
| # with: | |
| # token: ${{ secrets.CODECOV_TOKEN }} | |
| # file: lcov.info |