From 80739612174809ab4e68e74c5505c0f489469d9b Mon Sep 17 00:00:00 2001 From: Phillip Alday Date: Tue, 28 Oct 2025 16:10:19 -0500 Subject: [PATCH 1/4] test on julia pre instead of julia nightly --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c30eb63..6486927 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: - 'min' - 'lts' - '1' # automatically expands to the latest stable 1.x release of Julia - - 'nightly' + - 'pre' # expands to latest alpha, beta or RC, if available, otherwise same as `1` os: - ubuntu-latest arch: @@ -123,7 +123,7 @@ jobs: - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v5 with: - file: lcov.info + files: lcov.info test_monorepo: name: Monorepo dev - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} From 90ec2a07529bb44d93bd38721a00c52850d90362 Mon Sep 17 00:00:00 2001 From: Phillip Alday Date: Tue, 28 Oct 2025 16:10:27 -0500 Subject: [PATCH 2/4] ignore versioned manifests --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6027399..4c10e7e 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ # under the License. Manifest.toml +Manifest-v*.toml .DS_STORE *.jl.cov *.jl.*.cov From 5c205fbb710c94fe2fae251e3993ad5935b3ace3 Mon Sep 17 00:00:00 2001 From: Phillip Alday Date: Tue, 28 Oct 2025 16:12:59 -0500 Subject: [PATCH 3/4] manual workflow for nightly tests --- .github/workflows/ci_julia_nightly.yml | 108 +++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 .github/workflows/ci_julia_nightly.yml diff --git a/.github/workflows/ci_julia_nightly.yml b/.github/workflows/ci_julia_nightly.yml new file mode 100644 index 0000000..43f6ea8 --- /dev/null +++ b/.github/workflows/ci_julia_nightly.yml @@ -0,0 +1,108 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: Nightly +on: + schedule: + - cron: 0 0 * * 1 # run once a week on Mondays + workflow_dispatch: +jobs: + test: + name: ${{ matrix.pkg.name }} - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ matrix.nthreads }} threads - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + timeout-minutes: 45 + strategy: + fail-fast: false + matrix: + pkg: + - name: Arrow.jl + dir: '.' + - name: ArrowTypes.jl + dir: './src/ArrowTypes' + version: + - 'nightly' + os: + - ubuntu-latest + arch: + - x64 + nthreads: [1, 2] + steps: + - uses: actions/checkout@v5 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: actions/cache@v4 + 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.6 + with: + project: ${{ matrix.pkg.dir }} + - uses: julia-actions/julia-runtest@v1 + env: + JULIA_NUM_THREADS: ${{ matrix.nthreads }} + with: + project: ${{ matrix.pkg.dir }} + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v5 + with: + files: lcov.info + test_monorepo: + name: Monorepo dev - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + timeout-minutes: 30 + strategy: + fail-fast: true + matrix: + version: + - 'nightly' + os: + - ubuntu-latest + arch: + - x64 + steps: + - uses: actions/checkout@v5 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: actions/cache@v4 + 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 }}- + - name: Dev monorepo dependencies + shell: julia --project=monorepo {0} + run: | + using Pkg; + Pkg.develop([PackageSpec(path="."), PackageSpec(path="src/ArrowTypes")]) + - name: Run monorepo tests + continue-on-error: false + run: > + julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("Arrow")' From 978ae204ba971a526b9aaf3710d45791994e9558 Mon Sep 17 00:00:00 2001 From: Phillip Alday Date: Mon, 24 Nov 2025 15:37:17 -0700 Subject: [PATCH 4/4] rename CI workflow --- .github/workflows/{ci_julia_nightly.yml => ci_nightly.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ci_julia_nightly.yml => ci_nightly.yml} (100%) diff --git a/.github/workflows/ci_julia_nightly.yml b/.github/workflows/ci_nightly.yml similarity index 100% rename from .github/workflows/ci_julia_nightly.yml rename to .github/workflows/ci_nightly.yml