Skip to content

Commit

Permalink
Add pipeline to run core and code quality tests under Julia nightly (
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang committed Sep 24, 2024
1 parent e21f940 commit 6d4bfec
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/CI-Julia-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Runtests (Julia nightly)

on:
push:
branches:
- 'main'
paths:
- '.github/workflows/CI-Julia-nightly.yml'
- 'src/**'
- 'ext/**'
- 'test/runtests.jl'
- 'test/core-test/**'
- 'Project.toml'
pull_request:
branches:
- 'main'
paths:
- '.github/workflows/CI-Julia-nightly.yml'
- 'src/**'
- 'ext/**'
- 'test/runtests.jl'
- 'test/core-test/**'
- 'Project.toml'
types:
- opened
- reopened
- synchronize
- ready_for_review

jobs:
test:
name: ${{ matrix.os }} - ${{ matrix.arch }} ( ${{ matrix.group }} )
runs-on: ${{ matrix.os }}
permissions: # needed to allow julia-actions/cache to delete old caches that it has created
actions: write
contents: read
if: ${{ !github.event.pull_request.draft }}
strategy:
fail-fast: false
matrix:
version:
- 'nightly'
os:
- 'ubuntu-latest'
arch:
- 'x64'
group:
- 'Core'
- 'Code-Quality'

steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
GROUP: ${{ matrix.group }}

0 comments on commit 6d4bfec

Please sign in to comment.