From 170095de1e413cddc6cd82f9916c5d0f819c0527 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 7 Dec 2025 09:12:08 -0500 Subject: [PATCH 01/10] Add github actions CI --- .github/workflows/CI.yml | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 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..de2c6e2 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,52 @@ +name: CI +on: + push: + branches: + - main + tags: ['*'] + pull_request: +concurrency: + # Skip intermediate builds: always. + # Cancel intermediate builds: only if it is a pull request build. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1.10' + - '1' + - 'nightly' + os: + - ubuntu-latest + arch: + - x64 + include: + - os: windows-latest + version: '1' + arch: x64 + - os: macos-latest + version: '1' + arch: arm64 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/cache@v2 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + with: + directories: src + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + files: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + slug: JuliaGraphics/Showoff.jl From 89dabc5852d27ef33c565d336e8e4e5c0dc04af1 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 7 Dec 2025 09:19:45 -0500 Subject: [PATCH 02/10] Modernize CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index de2c6e2..7e58a25 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,13 +12,13 @@ concurrency: cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: version: - - '1.10' + - 'min' - '1' - 'nightly' os: @@ -33,7 +33,7 @@ jobs: version: '1' arch: arm64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - uses: julia-actions/cache@v2 - uses: julia-actions/setup-julia@v2 with: @@ -45,7 +45,7 @@ jobs: with: directories: src - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v4.0.1 + uses: codecov/codecov-action@v5 with: files: lcov.info token: ${{ secrets.CODECOV_TOKEN }} From 3b6060e1dcdff024fec453b35d011af760c416ae Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 7 Dec 2025 09:20:29 -0500 Subject: [PATCH 03/10] Apply suggestion from @giordano MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .github/workflows/CI.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7e58a25..e577f42 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,8 +23,6 @@ jobs: - 'nightly' os: - ubuntu-latest - arch: - - x64 include: - os: windows-latest version: '1' From 204bdf0a8b98a620168354b05d757238357b3ddd Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 7 Dec 2025 09:20:50 -0500 Subject: [PATCH 04/10] Update .github/workflows/CI.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .github/workflows/CI.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e577f42..b35cddf 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -26,7 +26,6 @@ jobs: include: - os: windows-latest version: '1' - arch: x64 - os: macos-latest version: '1' arch: arm64 From fea9292eb5eaf9c3b295a61d95f59ade6debeeae Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 7 Dec 2025 09:20:57 -0500 Subject: [PATCH 05/10] Update .github/workflows/CI.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .github/workflows/CI.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b35cddf..a9f127c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,7 +28,6 @@ jobs: version: '1' - os: macos-latest version: '1' - arch: arm64 steps: - uses: actions/checkout@v6 - uses: julia-actions/cache@v2 From 50f0cac3c36ca39abddebb778000469e8808f7d8 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 7 Dec 2025 09:21:02 -0500 Subject: [PATCH 06/10] Update .github/workflows/CI.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .github/workflows/CI.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a9f127c..23b107a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,7 +35,6 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 with: From bc052ac1fbe9c35a045edb4f56921a051cd7f05e Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 7 Dec 2025 09:21:18 -0500 Subject: [PATCH 07/10] Update .github/workflows/CI.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .github/workflows/CI.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 23b107a..15bac58 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -34,7 +34,6 @@ jobs: - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 with: From 80184eee36d3550e5c14568ed19b34f588431f68 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Tue, 9 Dec 2025 07:27:57 -0500 Subject: [PATCH 08/10] Update .github/workflows/CI.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .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 15bac58..f4fc74c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,10 +30,10 @@ jobs: version: '1' steps: - uses: actions/checkout@v6 - - uses: julia-actions/cache@v2 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 with: From a82c378503b7cf60b0691132dad7a4cbe858fd35 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Tue, 9 Dec 2025 07:28:04 -0500 Subject: [PATCH 09/10] Update .github/workflows/CI.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --- .github/workflows/CI.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f4fc74c..5bd4a65 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -36,8 +36,6 @@ jobs: - uses: julia-actions/cache@v2 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - with: - directories: src - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 with: From bec66482fbc05adf06b11aa94bdeed694003f406 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Tue, 9 Dec 2025 07:28:55 -0500 Subject: [PATCH 10/10] Delete .travis.yml --- .travis.yml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index db0d368..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: julia -os: - - linux -# - osx -julia: - - 1.0 - - 1.1 - - nightly -notifications: - email: false -after_success: - - julia -e 'using Pkg; cd(Pkg.dir("Showoff")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';