Skip to content

[ITensors] Optimize directsum and QN Array to ITensor conversio… #77

[ITensors] Optimize directsum and QN Array to ITensor conversio…

[ITensors] Optimize directsum and QN Array to ITensor conversio… #77

name: Run ITensorUnicodePlots tests on push to main
on:
push:
branches:
- main
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:
- '1.6'
- '1'
os:
- ubuntu-latest
threads:
- '1'
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Install Julia dependencies
shell: julia --project=monorepo {0}
run: |
using Pkg;
Pkg.develop(path=".");
Pkg.develop(path="./NDTensors");
Pkg.develop(path="./ITensorVisualizationBase");
Pkg.develop(path="./ITensorUnicodePlots");
- name: Run the tests
run: >
julia --project=monorepo --depwarn=yes -e 'using Pkg; Pkg.test("ITensorUnicodePlots")'