diff --git a/.github/workflows/UnitTest.yml b/.github/workflows/UnitTest.yml index 00e415b..f7923cd 100644 --- a/.github/workflows/UnitTest.yml +++ b/.github/workflows/UnitTest.yml @@ -14,52 +14,39 @@ jobs: strategy: fail-fast: false matrix: - julia-version: ['1.6', '1', 'nightly'] - os: [ubuntu-latest] + julia-version: ['1'] + os: [ubuntu-latest, windows-latest, macOS-13] arch: [x64] include: - - os: windows-latest - julia-version: '1' - arch: x64 - os: macOS-latest julia-version: '1' - arch: x64 + arch: aarch64 - os: ubuntu-latest julia-version: '1' arch: x86 + - os: ubuntu-latest + julia-version: 'min' + arch: x64 + - os: ubuntu-latest + julia-version: 'nightly' + arch: x64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: "Set up Julia" - uses: julia-actions/setup-julia@v1 + uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.julia-version }} arch: ${{ matrix.arch }} - name: Cache artifacts - uses: actions/cache@v1 - 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 }}- + uses: julia-actions/cache@v2 - - name: "Compat fix for Julia < v1.3.0" - if: ${{ matrix.julia-version == '1.0' }} - run: | - using Pkg - Pkg.add([ - PackageSpec(name="AbstractFFTs", version="0.5"), - ]) - shell: julia --project=. --startup=no --color=yes {0} - name: "Unit Test" - uses: julia-actions/julia-runtest@master + uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }}