replaced MetalBackend check in basis_structs.jl with check on CPU() i… #228
This file contains 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: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
env: | |
JULIA_TEST_MODE: true # Setting environment variable | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- '1.10.0' | |
arch: | |
- x64 | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-runtest@v1 | |
# - uses: julia-actions/julia-processcoverage@v1 | |
# - uses: codecov/codecov-action@v3 | |
# with: | |
# file: lcov.info |