diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6af62e1..2f20639 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,40 +1,53 @@ name: CI + on: push: branches: - main - tags: ['*'] pull_request: + branches: + - main workflow_dispatch: -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/') }} + jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} runs-on: ${{ matrix.os }} - timeout-minutes: 60 - permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created - actions: write - contents: read strategy: fail-fast: false matrix: version: - - '1.11' - - 'pre' + - '1.10' # LTS version + - '1' # Latest stable release os: - ubuntu-latest + - macOS-latest + - windows-latest arch: - x64 steps: - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} + - uses: julia-actions/cache@v2 + with: + cache-name: ci-cache-${{ matrix.os }}-${{ matrix.version }} + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + env: + JULIA_NUM_THREADS: 2 + + - uses: julia-actions/julia-processcoverage@v1 + + - uses: codecov/codecov-action@v4 + with: + files: lcov.info + fail_ci_if_error: false + + diff --git a/Project.toml b/Project.toml index f9cabdd..6dbd1bc 100644 --- a/Project.toml +++ b/Project.toml @@ -16,11 +16,10 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" AsteroidShapeModels = "0.3.1" CairoMakie = "0.13.4" Downloads = "1.6.0" -LinearAlgebra = "1.11.0" Rotations = "1.7.1" SPICE = "0.2.3" StaticArrays = "1.9.8" -julia = "1.11" +julia = "1.10" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"