This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-julia.git
The following commit(s) were added to refs/heads/main by this push:
new d1157e0 Test on Julia pre instead of Julia nightly (#574)
d1157e0 is described below
commit d1157e0d8fab40adbaa328905a4995c84a8004ee
Author: Phillip Alday <[email protected]>
AuthorDate: Wed Nov 26 18:48:49 2025 -0700
Test on Julia pre instead of Julia nightly (#574)
- fixes #573
- adds a workflow for weekly and manual testing against julia nightly
- adds versioned manifests to the ignore file
---
.github/workflows/ci.yml | 4 +-
.github/workflows/{ci.yml => ci_nightly.yml} | 106 ++-------------------------
.gitignore | 1 +
3 files changed, 11 insertions(+), 100 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1fee4ac..a6e4801 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 }}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci_nightly.yml
similarity index 51%
copy from .github/workflows/ci.yml
copy to .github/workflows/ci_nightly.yml
index 1fee4ac..43f6ea8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci_nightly.yml
@@ -15,65 +15,12 @@
# specific language governing permissions and limitations
# under the License.
-name: CI
+name: Nightly
on:
- pull_request:
- push:
- branches:
- - '**'
- - '!dependabot/**'
- tags:
- - '**'
+ schedule:
+ - cron: 0 0 * * 1 # run once a week on Mondays
+ workflow_dispatch:
jobs:
- license:
- name: Audit licenses
- runs-on: ubuntu-latest
- timeout-minutes: 5
- steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-python@v6
- with:
- python-version: '3.x'
- - name: Run Release audit tool (Rat)
- run: dev/release/run_rat.sh .
- release:
- name: Verify release - ${{ matrix.os }}
- runs-on: ${{ matrix.os }}
- timeout-minutes: 30
- strategy:
- fail-fast: false
- matrix:
- os:
- - macos-latest
- - ubuntu-latest
- steps:
- - uses: actions/checkout@v6
- - name: Install dependencies
- if: matrix.os == 'macos-latest'
- run: |
- brew install julia subversion
- - name: Install dependencies
- if: matrix.os == 'ubuntu-latest'
- run: |
- sudo apt update
- sudo apt install -y -V subversion
- - name: Create
- run: |
- git config user.name "github-actions[bot]"
- git config user.email "github-actions[bot]@users.noreply.github.com"
- RELEASE_DEFAULT=0 dev/release/release_rc.sh 100
- - uses: actions/cache@v4
- with:
- path: ~/.julia/artifacts
- key: ${{ runner.os }}-release-${{ hashFiles('**/Project.toml') }}
- restore-keys: |
- ${{ runner.os }}-release-
- - name: Verify
- run: |
- version=$(grep -o '^version = ".*"' "Project.toml" | \
- sed -e 's/^version = "//g' \
- -e 's/"$//g')
- VERIFY_DEFAULT=0 dev/release/verify_rc.sh ${version} 100
test:
name: ${{ matrix.pkg.name }} - Julia ${{ matrix.version }} - ${{ matrix.os
}} - ${{ matrix.arch }} - ${{ matrix.nthreads }} threads - ${{
github.event_name }}
runs-on: ${{ matrix.os }}
@@ -87,9 +34,6 @@ jobs:
- name: ArrowTypes.jl
dir: './src/ArrowTypes'
version:
- - 'min'
- - 'lts'
- - '1' # automatically expands to the latest stable 1.x release of
Julia
- 'nightly'
os:
- ubuntu-latest
@@ -97,7 +41,7 @@ jobs:
- x64
nthreads: [1, 2]
steps:
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v5
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
@@ -123,7 +67,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 }}
@@ -132,13 +76,13 @@ jobs:
fail-fast: true
matrix:
version:
- - '1' # automatically expands to the latest stable 1.x release of
Julia
+ - 'nightly'
os:
- ubuntu-latest
arch:
- x64
steps:
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v5
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
@@ -162,37 +106,3 @@ jobs:
continue-on-error: false
run: >
julia --color=yes --project=monorepo -e 'using Pkg;
Pkg.test("Arrow")'
- docs:
- name: Documentation
- runs-on: ubuntu-latest
- timeout-minutes: 5
- steps:
- - uses: actions/checkout@v6
- - uses: julia-actions/julia-buildpkg@latest
- - uses: julia-actions/julia-docdeploy@latest
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
- Format:
- runs-on: ubuntu-latest
- timeout-minutes: 5
- steps:
- - uses: julia-actions/setup-julia@v2
- - uses: actions/checkout@v6
- - name: Install JuliaFormatter and format
- # This will use the latest version by default but you can set the
version like so:
- # julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter",
version="0.13.0"))'
- run: |
- julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))'
- julia -e 'using JuliaFormatter; format(".", verbose=true)'
- - name: Format check
- run: |
- julia -e '
- out = Cmd(`git diff --name-only`) |> read |> String
- if out == ""
- exit(0)
- else
- @error "Some files have not been formatted !!!"
- write(stdout, out)
- exit(1)
- end'
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