chore(deps): update StatsPlots requirement to 0.15.8 in /docs #66
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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - '**.jl' | |
| - '**.toml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**.jl' | |
| - '**.toml' | |
| concurrency: | |
| # cancels when a PR gets updated | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ github.actor }} | |
| cancel-in-progress: true | |
| jobs: | |
| spectralfitting: | |
| name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - spectralfitting | |
| timeout-minutes: 30 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| julia-version: ['1'] | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/checkout@v6 | |
| with: | |
| repository: fjebaker/spectral-fitting-test-suite | |
| path: data | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| - uses: actions/cache@v5 | |
| env: | |
| cache-name: cache-artifacts | |
| with: | |
| path: ~/.julia/artifacts | |
| key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-test-${{ env.cache-name }}- | |
| ${{ runner.os }}-test- | |
| ${{ runner.os }}- | |
| - name: Add AstroRegistry | |
| shell: julia --project=. --color=yes {0} | |
| run: | | |
| import Pkg | |
| Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/JuliaRegistries/General")) | |
| Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/astro-group-bristol/AstroRegistry/")) | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - name: Run SpectralFitting test | |
| shell: julia --color=yes --math-mode=ieee --check-bounds=yes -tauto --project=. {0} | |
| run: | | |
| import Pkg | |
| Pkg.test(; coverage=true) | |
| env: | |
| SF_TEST_SUITE_DATA: "../data/sample-data" | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| with: | |
| directories: src | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| files: lcov.info | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| xspecmodels: | |
| name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - xspecmodels | |
| timeout-minutes: 30 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| julia-version: ['1'] | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/checkout@v6 | |
| with: | |
| repository: fjebaker/spectral-fitting-test-suite | |
| path: data | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| - uses: actions/cache@v5 | |
| env: | |
| cache-name: cache-artifacts | |
| with: | |
| path: ~/.julia/artifacts | |
| key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-test-${{ env.cache-name }}- | |
| ${{ runner.os }}-test- | |
| ${{ runner.os }}- | |
| - name: Add AstroRegistry | |
| shell: julia --project=lib/XSPECModels/test --color=yes {0} | |
| run: | | |
| using Pkg | |
| Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/JuliaRegistries/General")) | |
| Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/astro-group-bristol/AstroRegistry/")) | |
| pkg"dev . ./lib/XSPECModels" | |
| - name: Run XSPECModels test | |
| shell: julia --color=yes --math-mode=ieee --check-bounds=yes -tauto --project=lib/XSPECModels/test {0} | |
| run: | | |
| import Pkg | |
| Pkg.test("XSPECModels"; coverage=true) | |
| env: | |
| SF_TEST_SUITE_DATA: "../../../data/sample-data" | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| with: | |
| directories: src | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| files: lcov.info | |
| token: ${{ secrets.CODECOV_TOKEN }} |