Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Sep 27, 2023
1 parent 0a3f270 commit f7fe67a
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,36 @@ concurrency:
cancel-in-progress: true

jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
groups: ${{ steps.changes.outputs.groups }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
sectors:
- 'src/sectors/**'
fusiontrees:
- 'src/sectors/**'
- 'src/fusiontrees/**'
spaces:
- 'src/spaces/**'
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
needs: changes
name: "${{ matrix.group }} : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
group:
- ${{ fromJSON(needs.changes.outputs.groups) }}
- 'tensors'
version:
- '1.6' # LTS version
- '1' # automatically expands to the latest stable 1.x release of Julia
Expand All @@ -44,6 +68,7 @@ jobs:
- uses: julia-actions/julia-runtest@latest
env:
JULIA_NUM_THREADS: 4
GROUP: ${{ matrix.group }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -74,3 +99,4 @@ jobs:
- uses: julia-actions/julia-runtest@latest
env:
JULIA_NUM_THREADS: 4
GROUP: 'tensors'

0 comments on commit f7fe67a

Please sign in to comment.