Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 20 additions & 32 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
---
name: CI
# Run on master, tags, or any pull request
on:
schedule:
- cron: '0 2 * * *' # Daily at 2 AM UTC (8 PM CST)
- cron: "0 2 * * *" # Daily at 2 AM UTC (8 PM CST)
push:
branches: [master]
tags: ["*"]
pull_request:
pull_request: {}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.version == 'nightly' }}
strategy:
fail-fast: false
matrix:
version:
- "1.0" # oldest supported version
- "1.6" # previous LTS release
- "lts"
- "1" # Latest Release
- "min" # Project's oldest supported version
- "lts" # Long-Term Stable
- "1" # Latest release
os:
- ubuntu-latest
- macOS-latest
Expand All @@ -28,9 +29,7 @@ jobs:
exclude:
# macOS default arch is ARM these days which requires Julia >= 1.8
- os: macOS-latest
version: "1.0"
- os: macOS-latest
version: "1.6"
version: "min"
include:
# Test 32-bit only on Linux
- os: ubuntu-latest
Expand All @@ -39,6 +38,9 @@ jobs:
- os: ubuntu-latest
arch: x86
version: "1"
- os: ubuntu-latest
arch: x64
version: "nightly"
steps:
- uses: actions/checkout@v7
- uses: julia-actions/setup-julia@v3
Expand All @@ -53,36 +55,22 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

slack:
name: Notify Slack Failure
needs: test
runs-on: ubuntu-slim
if: always() && github.event_name == 'schedule'
steps:
- uses: technote-space/workflow-conclusion-action@v2
- uses: voxmedia/github-action-slack-notify-build@v1
if: env.WORKFLOW_CONCLUSION == 'failure'
with:
channel: nightly-dev
status: FAILED
color: danger
env:
SLACK_BOT_TOKEN: ${{ secrets.DEV_SLACK_BOT_TOKEN }}

docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: julia-actions/setup-julia@v3
with:
version: 'lts'
- run: |
julia --project=docs --color -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
include("docs/make.jl")'
version: "lts"
- name: Install dependencies
shell: julia --color=yes --project=docs {0}
run: |
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
- name: Make docs
run: julia --color=yes --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
25 changes: 19 additions & 6 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
---
name: CompatHelper
on:
schedule:
- cron: '0 0 * * *' # Everyday at midnight
workflow_dispatch:
- cron: "0 0 * * *" # Everyday at midnight
workflow_dispatch: {}
pull_request:
paths:
- ".github/workflows/CompatHelper.yml" # Self-test when workflow changes
jobs:
CompatHelper:
runs-on: ubuntu-slim
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
- uses: julia-actions/setup-julia@v3
with:
version: "1"
- name: Install CompatHelper
shell: julia --color=yes --project=@compathelper {0}
run: |
using Pkg
Pkg.add("CompatHelper")
- name: Run CompatHelper
shell: julia --color=yes --project=@compathelper {0}
run: |
using CompatHelper
CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
22 changes: 0 additions & 22 deletions .github/workflows/JuliaNightly.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: TagBot

on:
issue_comment:
types:
Expand All @@ -8,10 +8,9 @@ on:
inputs:
lookback:
default: 3

jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
if: ${{ github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' }}
runs-on: ubuntu-slim
steps:
- uses: JuliaRegistries/TagBot@v1
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/blue_style_formatter.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: Format suggestions

on:
pull_request:

pull_request: {}
jobs:
format:
runs-on: ubuntu-slim
Expand All @@ -11,9 +10,16 @@ jobs:
- uses: julia-actions/setup-julia@v3
with:
version: 1
- run: |
julia -e 'using Pkg; Pkg.add("JuliaFormatter")'
julia -e 'using JuliaFormatter; format(".", BlueStyle(); verbose=true)'
- name: Install JuliaFormatter
shell: julia --color=yes --project=@format {0}
run: |
using Pkg
Pkg.add("JuliaFormatter")
- name: Format
shell: julia --color=yes --project=@format {0}
run: |
using JuliaFormatter
format(".", BlueStyle(); verbose=true)
- uses: reviewdog/action-suggester@v1
with:
tool_name: JuliaFormatter
Expand Down
Loading