Skip to content

[ITensors] Delete benchmark subdirectory (#1414) #215

[ITensors] Delete benchmark subdirectory (#1414)

[ITensors] Delete benchmark subdirectory (#1414) #215

name: Run ITensorUnicodePlots tests (Ubuntu)
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:
- '1.6'
- '1'
os:
- ubuntu-latest
threads:
- '1'
arch:
- x64
exclude:
# MacOS not available on x86
- {os: 'macOS-latest', arch: 'x86'}
steps:
- uses: actions/checkout@v2
- 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.develop(path="./ITensorVisualizationBase");
Pkg.develop(path="./ITensorUnicodePlots");
Pkg.test("ITensorUnicodePlots")