diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 96a9b67..1086b18 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,44 +1,41 @@ name: CI on: - push: - branches: - - main - tags: ['*'] - pull_request: - 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/') }} + - push + - pull_request jobs: - test: + test: # Job to run test suite name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: version: - - '1.0' - - '1.9' + - '1.6' + - '1' - 'nightly' os: - ubuntu-latest - arch: - - x64 + - macOS-latest + - windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 + - uses: actions/cache@v1 + 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 }}- - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v3 with: - files: lcov.info - - uses: julia-actions/julia-uploadcoveralls@v1 - env: - COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} + file: lcov.info diff --git a/.travis.yml b/.travis.yml index dc3765f..7fab205 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: julia notifications: email: false julia: - - 1.0 + - 1.6 - 1.9 - nightly os: diff --git a/Project.toml b/Project.toml index eec94f5..36c458b 100644 --- a/Project.toml +++ b/Project.toml @@ -3,6 +3,12 @@ uuid = "a3ac4969-c0e8-4fca-9196-8113a875001f" authors = ["Kazi Abu Rousan"] version = "1.0.0-DEV" +[deps] +DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa" +ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" +QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" +ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267" + [compat] julia = "1"