Skip to content

Commit

Permalink
Merge branch 'master' into vs/compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah authored Nov 6, 2024
2 parents 41dfaca + 6286769 commit 3e11092
Showing 1 changed file with 15 additions and 28 deletions.
43 changes: 15 additions & 28 deletions .github/workflows/UnitTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 3e11092

Please sign in to comment.