[NDTensors] [ITensors] [ITensorGPU] Bump to NDTensors v0.1.47, ITenso… #1002
Workflow file for this run
This file contains hidden or 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: TestITensors | |
| 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 | |
| # - windows-latest # windows tests are failing for an unknow reason, disable for now | |
| - macOS-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 | |
| shell: julia --project=monorepo {0} | |
| run: | | |
| using Pkg; | |
| pkg"dev ./NDTensors ." | |
| - name: Run the tests | |
| shell: julia --project=monorepo {0} | |
| run: | | |
| using Pkg; | |
| Pkg.test("ITensors"; coverage=true) | |
| - uses: julia-actions/julia-uploadcodecov@latest | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |