Skip to content

[WIP] [NDTensors] Excise libraries #3845

[WIP] [NDTensors] Excise libraries

[WIP] [NDTensors] Excise libraries #3845

name: Run NDTensors tests
on:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.threads }} thread(s)
runs-on: ${{ matrix.os }}
env:
JULIA_NUM_THREADS: ${{ matrix.threads }}
strategy:
matrix:
version:
- 'lts'
- '1'
os:
- ubuntu-latest
threads:
- '1'
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Install Julia dependencies and run tests
shell: julia --depwarn=yes {0}
run: |
using Pkg;
Pkg.activate(temp=true);
Pkg.develop(path="./NDTensors");
Pkg.develop(path=".");
Pkg.test("NDTensors");