From df56ddf8acc286a9781a2a06aa804c30c30d580e Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Thu, 17 Feb 2022 15:59:30 -0600 Subject: [PATCH 1/5] Remove Travis and Appveyor config files --- .travis.yml | 20 -------------------- appveyor.yml | 41 ----------------------------------------- 2 files changed, 61 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9d3f4c2..0000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Documentation: http://docs.travis-ci.com/user/languages/julia/ -language: julia -os: - - linux - - osx -julia: - - 1.0 # LTS - - 1 # Latest release - - nightly -notifications: - email: false -matrix: - allow_failures: - - julia: nightly - fast_finish: true -after_success: - # push coverage results to Coveralls - - julia -e 'cd(Pkg.dir("Suppressor")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' - # push coverage results to Codecov - - julia -e 'cd(Pkg.dir("Suppressor")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index a3f31d1..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,41 +0,0 @@ -environment: - matrix: - - julia_version: 1.0 # LTS - - julia_version: 1 # Latest release - - julia_version: nightly - -platform: - - x86 # 32-bit - - x64 # 64-bit - -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%" From 1eac6685564b1859f78850685d024785f1e22801 Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Thu, 17 Feb 2022 16:00:40 -0600 Subject: [PATCH 2/5] Add GitHub actions CI workflow --- .github/workflows/CI.yml | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..52d74a5 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,47 @@ +name: CI +on: + pull_request: + branches: "*" + push: + branches: master + tags: "*" +jobs: + test: + name: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: true + matrix: + version: + - "1.0" # Oldest supported version + - "1" # Latest release + - nightly + os: + - ubuntu-latest + - macOS-latest + - windows-latest + arch: + - x64 + - x86 + exclude: + # Test 32-bit only on Linux + - os: macOS-latest + arch: x86 + - os: windows-latest + arch: x86 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: actions/cache@v1 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v2 + with: + files: lcov.info + - uses: julia-actions/julia-uploadcoveralls@v1 + env: + COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} From cd01c84211328c8f095f8db50352b8481ec334ca Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Thu, 17 Feb 2022 16:02:10 -0600 Subject: [PATCH 3/5] fixup! Add GitHub actions CI workflow --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 52d74a5..a4d8e39 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,7 +7,7 @@ on: tags: "*" jobs: test: - name: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: fail-fast: true From 81d0ce5690f376e1390f920a9ec8d27af48ec984 Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Thu, 17 Feb 2022 16:07:15 -0600 Subject: [PATCH 4/5] fixup! Add GitHub actions CI workflow --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a4d8e39..d148706 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,7 +35,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: julia-actions/cache@v1 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 From b243b0918683492c4d12a93b71b06289e8d61a54 Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Thu, 17 Feb 2022 20:47:14 -0600 Subject: [PATCH 5/5] Disable coveralls --- .github/workflows/CI.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d148706..23b2eff 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -42,6 +42,8 @@ jobs: - uses: codecov/codecov-action@v2 with: files: lcov.info - - uses: julia-actions/julia-uploadcoveralls@v1 - env: - COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} + # Package used Coveralls when it used Travis CI but unfortunately I don't have access + # to the repo secrets to configure this. + # - uses: julia-actions/julia-uploadcoveralls@v1 + # env: + # COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}