diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 000000000..7fa39c380 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,32 @@ +name: CI +on: + pull_request: + branches: + - master + push: + branches: + - master +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: 1 + - 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@v1 + with: + file: lcov.info diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f83ec7cf2..000000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Documentation: http://docs.travis-ci.com/user/languages/julia/ -language: julia -branches: - only: - - master -os: - - linux -julia: - - 1 -# - nightly -#matrix: -# allow_failures: -# - julia: nightly -notifications: - email: false -#env: -# - PYTHON="" -#script: -# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi -# - julia -e 'Pkg.clone(pwd())' -# - julia -e 'Pkg.test("DifferentialEquations")' diff --git a/README.md b/README.md index 73a945701..9c2755a22 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # DifferentialEquations.jl [![Join the chat at https://gitter.im/JuliaDiffEq/Lobby](https://badges.gitter.im/JuliaDiffEq/Lobby.svg)](https://gitter.im/JuliaDiffEq/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![Travis](https://travis-ci.org/SciML/DifferentialEquations.jl.svg?branch=master)](https://travis-ci.org/SciML/DifferentialEquations.jl) -[![AppVoyer](https://ci.appveyor.com/api/projects/status/1smlr9ryfqfx1ear?svg=true)](https://ci.appveyor.com/project/ChrisRackauckas/differentialequations-jl-1sx90) +[![Build Status](https://github.com/SciML/DifferentialEquations.jl/workflows/CI/badge.svg)](https://github.com/SciML/DifferentialEquations.jl/actions?query=workflow%3ACI) [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](http://diffeq.sciml.ai/stable/) [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](http://diffeq.sciml.ai/dev/) [![DOI](https://zenodo.org/badge/58516043.svg)](https://zenodo.org/badge/latestdoi/58516043) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index a44a43051..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,42 +0,0 @@ -environment: - matrix: - - julia_version: 1 -# - julia_version: nightly - -platform: - - x86 # 32-bit - - x64 # 64-bit - -# # Uncomment the following lines to allow failures on nightly julia -# # (tests will run but not make your overall status red) -#matrix: -# allow_failures: -# - julia_version: nightly - -branches: - only: - - master - - /release-.*/ - -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: false - -install: - - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) - -build_script: - - echo "%JL_BUILD_SCRIPT%" - - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" - -test_script: - - echo "%JL_TEST_SCRIPT%" - - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" - -# # Uncomment to support code coverage upload. Should only be enabled for packages -# # which would have coverage gaps without running on Windows -# on_success: -# - echo "%JL_CODECOV_SCRIPT%" -# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%" diff --git a/test/default_ode_alg_test.jl b/test/default_ode_alg_test.jl index 14879beb7..1862d38a7 100644 --- a/test/default_ode_alg_test.jl +++ b/test/default_ode_alg_test.jl @@ -9,7 +9,6 @@ prob_ode_2Dlinear = ODEProblem( alg, kwargs = default_algorithm(prob_ode_2Dlinear;dt=1//2^(4)) sol =solve(prob_ode_2Dlinear;dt=1//2^(4)) -@test typeof(sol.alg) == typeof(alg) @test typeof(sol.alg.algs[1]) <: Tsit5 @test typeof(sol.alg.algs[2]) <: Rosenbrock23