diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..7fa39c3 --- /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 a202612..0000000 --- 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 -# - osx -julia: - - 1 - - nightly -matrix: - allow_failures: - - julia: nightly -notifications: - email: false -env: - - PYTHON="" -after_success: - - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())' - - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())' diff --git a/README.md b/README.md index a756918..db87b7f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # PyDSTool.jl -[![Build Status](https://travis-ci.org/SciML/PyDSTool.jl.svg?branch=master)](https://travis-ci.org/SciML/PyDSTool.jl) -[![Build status](https://ci.appveyor.com/api/projects/status/qgi1m49ruthu3bh5?svg=true)](https://ci.appveyor.com/project/ChrisRackauckas/pydstool-jl) +[![Build Status](https://github.com/SciML/PyDSTool.jl/workflows/CI/badge.svg)](https://github.com/SciML/PyDSTool.jl/actions?query=workflow%3ACI) [![Coverage Status](https://coveralls.io/repos/github/SciML/PyDSTool.jl/badge.svg)](https://coveralls.io/github/SciML/PyDSTool.jl) [![codecov.io](http://codecov.io/github/SciML/PyDSTool.jl/coverage.svg?branch=master)](http://codecov.io/github/SciML/PyDSTool.jl?branch=master) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d91d34e..0000000 --- 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%"