From f1c4de75a226346150276dc676d924667478a532 Mon Sep 17 00:00:00 2001 From: Martin Holters Date: Mon, 2 Nov 2020 11:39:36 +0100 Subject: [PATCH 1/4] Add Github action to run tests --- .github/workflows/tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 000000000..c4835838f --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,22 @@ +name: Run tests + +on: [push, pull_request] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + julia-version: ['1.0', '1.1', '1.2', '1.3', '1.4', '1', 'nightly'] + julia-arch: [x64, x86] + os: [ubuntu-latest, windows-latest, macOS-latest] + exclude: + - os: macOS-latest + julia-arch: x86 + + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.julia-version }} + - uses: julia-actions/julia-runtest@v1 \ No newline at end of file From d167c86e642b0689e1192ff9a58026fcf9880d36 Mon Sep 17 00:00:00 2001 From: Martin Holters Date: Mon, 2 Nov 2020 14:00:15 +0100 Subject: [PATCH 2/4] Replace Travis and AppVeyor badges with Githib Actions one --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 757f75c5a..28dfce0ce 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Compat Package for Julia -[![Build Status](https://travis-ci.org/JuliaLang/Compat.jl.svg?branch=master)](https://travis-ci.org/JuliaLang/Compat.jl) -[![Build status](https://ci.appveyor.com/api/projects/status/github/JuliaLang/Compat.jl?branch=master)](https://ci.appveyor.com/project/quinnj/compat-jl/branch/master) +![Tests](https://github.com/JuliaLang/Compat.jl/workflows/Run%20tests/badge.svg) The **Compat** package is designed to ease interoperability between older and newer versions of the [Julia From 58bafb885fefd4ec88ae9acf8059c38edbb14bb6 Mon Sep 17 00:00:00 2001 From: Martin Holters Date: Mon, 2 Nov 2020 14:02:17 +0100 Subject: [PATCH 3/4] Remove Travis and AppVeyor configuration --- .travis.yml | 14 -------------- appveyor.yml | 41 ----------------------------------------- 2 files changed, 55 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0d5cbeff6..000000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: julia -os: - - linux - - osx -julia: - - 1.0 - - 1.1 - - 1.2 - - 1.3 - - 1.4 - - 1.5 - - nightly -notifications: - email: false diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 75774708b..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,41 +0,0 @@ -environment: - matrix: - - julia_version: 1.0 - - julia_version: 1.1 - - julia_version: 1.2 - - julia_version: 1.3 - - julia_version: 1.4 - - julia_version: 1.5 - - julia_version: latest - -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: latest - -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%" From 298e08c67c01d074b404a910f427fb480e05a300 Mon Sep 17 00:00:00 2001 From: Martin Holters Date: Mon, 2 Nov 2020 15:50:31 +0100 Subject: [PATCH 4/4] Disable `fail-fast` for Github Action tests Co-authored-by: Simeon Schaub --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c4835838f..de584153c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,10 +13,11 @@ jobs: exclude: - os: macOS-latest julia-arch: x86 + fail-fast: false steps: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.julia-version }} - - uses: julia-actions/julia-runtest@v1 \ No newline at end of file + - uses: julia-actions/julia-runtest@v1