|
1 | | -name: CI |
2 | | -on: |
3 | | - push: |
4 | | - branches: |
5 | | - - main |
6 | | - tags: ['*'] |
7 | | - pull_request: |
8 | | - workflow_dispatch: |
9 | | -concurrency: |
10 | | - # Skip intermediate builds: always. |
11 | | - # Cancel intermediate builds: only if it is a pull request build. |
12 | | - group: ${{ github.workflow }}-${{ github.ref }} |
13 | | - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} |
14 | | -jobs: |
15 | | - test: |
16 | | - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} |
17 | | - runs-on: ${{ matrix.os }} |
18 | | - timeout-minutes: 60 |
19 | | - permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created |
20 | | - actions: write |
21 | | - contents: read |
22 | | - strategy: |
23 | | - fail-fast: false |
24 | | - matrix: |
25 | | - version: |
26 | | - - '1.10' |
27 | | - - '1' |
28 | | - os: |
29 | | - - ubuntu-latest |
30 | | - arch: |
31 | | - - x64 |
32 | | - steps: |
33 | | - - uses: actions/checkout@v4 |
34 | | - - uses: julia-actions/setup-julia@v2 |
35 | | - with: |
36 | | - version: ${{ matrix.version }} |
37 | | - arch: ${{ matrix.arch }} |
38 | | - - uses: julia-actions/cache@v2 |
39 | | - - uses: julia-actions/julia-buildpkg@v1 |
40 | | - - uses: julia-actions/julia-runtest@v1 |
41 | | - - uses: julia-actions/julia-processcoverage@v1 |
42 | | - - uses: codecov/codecov-action@v5 |
43 | | - with: |
44 | | - files: lcov.info |
45 | | - token: ${{ secrets.CODECOV_TOKEN }} |
46 | | - fail_ci_if_error: false |
47 | | - # docs: |
48 | | - # name: Documentation |
49 | | - # runs-on: ubuntu-latest |
50 | | - # permissions: |
51 | | - # actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created |
52 | | - # contents: write |
53 | | - # statuses: write |
54 | | - # steps: |
55 | | - # - uses: actions/checkout@v4 |
56 | | - # - uses: julia-actions/setup-julia@v2 |
57 | | - # with: |
58 | | - # version: '1' |
59 | | - # - uses: julia-actions/cache@v2 |
60 | | - # - name: Configure doc environment |
61 | | - # shell: julia --project=docs --color=yes {0} |
62 | | - # run: | |
63 | | - # using Pkg |
64 | | - # Pkg.develop(PackageSpec(path=pwd())) |
65 | | - # Pkg.instantiate() |
66 | | - # - uses: julia-actions/julia-buildpkg@v1 |
67 | | - # - uses: julia-actions/julia-docdeploy@v1 |
68 | | - # env: |
69 | | - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
70 | | - # DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
71 | | - # - name: Run doctests |
72 | | - # shell: julia --project=docs --color=yes {0} |
73 | | - # run: | |
74 | | - # using Documenter: DocMeta, doctest |
75 | | - # using NMFMerge |
76 | | - # DocMeta.setdocmeta!(NMFMerge, :DocTestSetup, :(using NMFMerge); recursive=true) |
77 | | - # doctest(NMFMerge) |
| 1 | +name: CI |
| 2 | +on: |
| 3 | + push: |
| 4 | + branches: |
| 5 | + - main |
| 6 | + tags: ['*'] |
| 7 | + pull_request: |
| 8 | + workflow_dispatch: |
| 9 | +concurrency: |
| 10 | + # Skip intermediate builds: always. |
| 11 | + # Cancel intermediate builds: only if it is a pull request build. |
| 12 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 13 | + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} |
| 14 | +jobs: |
| 15 | + test: |
| 16 | + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} |
| 17 | + runs-on: ${{ matrix.os }} |
| 18 | + timeout-minutes: 60 |
| 19 | + permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created |
| 20 | + actions: write |
| 21 | + contents: read |
| 22 | + strategy: |
| 23 | + fail-fast: false |
| 24 | + matrix: |
| 25 | + version: |
| 26 | + - '1.10' |
| 27 | + - '1' |
| 28 | + os: |
| 29 | + - ubuntu-latest |
| 30 | + arch: |
| 31 | + - x64 |
| 32 | + steps: |
| 33 | + - uses: actions/checkout@v4 |
| 34 | + - uses: julia-actions/setup-julia@v2 |
| 35 | + with: |
| 36 | + version: ${{ matrix.version }} |
| 37 | + arch: ${{ matrix.arch }} |
| 38 | + - uses: julia-actions/cache@v2 |
| 39 | + - uses: julia-actions/julia-buildpkg@v1 |
| 40 | + - uses: julia-actions/julia-runtest@v1 |
| 41 | + - uses: julia-actions/julia-processcoverage@v1 |
| 42 | + - uses: codecov/codecov-action@v5 |
| 43 | + with: |
| 44 | + files: lcov.info |
| 45 | + token: ${{ secrets.CODECOV_TOKEN }} |
| 46 | + fail_ci_if_error: false |
| 47 | + # docs: |
| 48 | + # name: Documentation |
| 49 | + # runs-on: ubuntu-latest |
| 50 | + # permissions: |
| 51 | + # actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created |
| 52 | + # contents: write |
| 53 | + # statuses: write |
| 54 | + # steps: |
| 55 | + # - uses: actions/checkout@v4 |
| 56 | + # - uses: julia-actions/setup-julia@v2 |
| 57 | + # with: |
| 58 | + # version: '1' |
| 59 | + # - uses: julia-actions/cache@v2 |
| 60 | + # - name: Configure doc environment |
| 61 | + # shell: julia --project=docs --color=yes {0} |
| 62 | + # run: | |
| 63 | + # using Pkg |
| 64 | + # Pkg.develop(PackageSpec(path=pwd())) |
| 65 | + # Pkg.instantiate() |
| 66 | + # - uses: julia-actions/julia-buildpkg@v1 |
| 67 | + # - uses: julia-actions/julia-docdeploy@v1 |
| 68 | + # env: |
| 69 | + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 70 | + # DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
| 71 | + # - name: Run doctests |
| 72 | + # shell: julia --project=docs --color=yes {0} |
| 73 | + # run: | |
| 74 | + # using Documenter: DocMeta, doctest |
| 75 | + # using NMFMerge |
| 76 | + # DocMeta.setdocmeta!(NMFMerge, :DocTestSetup, :(using NMFMerge); recursive=true) |
| 77 | + # doctest(NMFMerge) |
0 commit comments