From ca2ebb2d29e5f55434c7fbcef7cb480bf7d590cb Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Wed, 6 Nov 2024 17:52:44 -0500 Subject: [PATCH] Update UnitTest.yml --- .github/workflows/UnitTest.yml | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/.github/workflows/UnitTest.yml b/.github/workflows/UnitTest.yml index 012fe28..ddafbfd 100644 --- a/.github/workflows/UnitTest.yml +++ b/.github/workflows/UnitTest.yml @@ -14,41 +14,32 @@ jobs: strategy: fail-fast: false matrix: - julia-version: ['1.0', '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: min 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: "Unit Test" uses: julia-actions/julia-runtest@master - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }}