coherent index writing avoiding throw(InexactError) #43
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: | |
push: | |
branches: | |
- main | |
tags: ['*'] | |
pull_request: | |
concurrency: | |
# Skip intermediate builds: always. | |
# Cancel intermediate builds: only if it is a pull request build. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
# needed for julia-actions/cache to delete old caches | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - nthreads ${{ matrix.env.JULIA_NUM_THREADS }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- JULIA_NUM_THREADS: 1 | |
- JULIA_NUM_THREADS: 2 | |
version: | |
- 'lts' | |
- '1' | |
- 'pre' | |
os: | |
- ubuntu-latest | |
arch: | |
- x64 | |
- x86 | |
include: | |
# test macOS and Windows with latest Julia only | |
- os: macOS-latest | |
arch: x64 | |
version: 1 | |
- os: windows-latest | |
arch: x64 | |
version: 1 | |
- os: windows-latest | |
arch: x86 | |
version: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/cache@v2 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-runtest@v1 |