From 3b8a85e1890810249c34e41703d21b4ef30ca923 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Sat, 21 Mar 2020 16:28:30 +0100 Subject: [PATCH] Replace AppVeyor with Github Actions --- .github/workflows/CI.yml | 30 +++++++++++++++++++++++++++++ README.md | 2 +- appveyor.yml | 41 ---------------------------------------- 3 files changed, 31 insertions(+), 42 deletions(-) create mode 100644 .github/workflows/CI.yml delete mode 100644 appveyor.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..1d6a005 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + version: + - '1' + - 'nightly' + os: + - windows-latest + arch: + - x86 + - x64 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@latest diff --git a/README.md b/README.md index 0faaf5d..c34bc19 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![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) [![Build Status](https://travis-ci.org/JuliaDiffEq/DelayDiffEq.jl.svg?branch=master)](https://travis-ci.org/JuliaDiffEq/DelayDiffEq.jl) -[![Build status](https://ci.appveyor.com/api/projects/status/ool429apgp28p71x?svg=true)](https://ci.appveyor.com/project/ChrisRackauckas/delaydiffeq-jl) +[![Build Status](https://github.com/JuliaDiffEq/DelayDiffEq.jl/workflows/CI/badge.svg)](https://github.com/JuliaDiffEq/DelayDiffEq.jl/actions?query=workflow%3ACI) [![Coverage Status](https://coveralls.io/repos/JuliaDiffEq/DelayDiffEq.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/JuliaDiffEq/DelayDiffEq.jl?branch=master) [![codecov.io](http://codecov.io/github/JuliaDiffEq/DelayDiffEq.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaDiffEq/DelayDiffEq.jl?branch=master) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index e31c680..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,41 +0,0 @@ -environment: - matrix: - - julia_version: 1 - -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%"