From 8c4cb4d7d215c3dfa8aa30005e2490a880ca4d97 Mon Sep 17 00:00:00 2001 From: Yi-Te Huang Date: Sun, 22 Sep 2024 14:46:21 +0800 Subject: [PATCH 1/2] add pipeline running core tests under Julia nightly --- .github/workflows/CI-Julia-nightly.yml | 61 ++++++++++++++++++++++++++ 1 file changed, 61 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 00000000..b0fe59c6 --- /dev/null +++ b/.github/workflows/CI-Julia-nightly.yml @@ -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 }} \ No newline at end of file From 26b4fb82187650a53002f73f512ec553237ddb5c Mon Sep 17 00:00:00 2001 From: Yi-Te Huang <44385685+ytdHuang@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:26:33 +0800 Subject: [PATCH 2/2] minor changes --- .github/workflows/CI-Julia-nightly.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI-Julia-nightly.yml b/.github/workflows/CI-Julia-nightly.yml index b0fe59c6..389e2d3f 100644 --- a/.github/workflows/CI-Julia-nightly.yml +++ b/.github/workflows/CI-Julia-nightly.yml @@ -41,12 +41,12 @@ jobs: version: - 'nightly' os: - - ubuntu-latest + - 'ubuntu-latest' arch: - - x64 + - 'x64' group: - - Core - - Code-Quality + - 'Core' + - 'Code-Quality' steps: - uses: actions/checkout@v4 @@ -58,4 +58,4 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 env: - GROUP: ${{ matrix.group }} \ No newline at end of file + GROUP: ${{ matrix.group }}