From 54b9b4b9e423b4561a75f607aabef1840651b29d Mon Sep 17 00:00:00 2001 From: Chengyu HAN Date: Fri, 3 May 2024 00:11:27 -0500 Subject: [PATCH] ci: run aqua test as a job --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34dab4bb..2c2003b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,14 +61,38 @@ jobs: - run: julia --color=yes .ci/test_and_change_uuid.jl - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - env: - SPARSEARRAYS_AQUA_TEST: true - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v4 with: file: lcov.info token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true + aqua-test: + runs-on: ${{ matrix.os }} + timeout-minutes: 60 + permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created + actions: write + contents: read + strategy: + matrix: + julia-version: + - 'nightly' + os: + - ubuntu-latest + julia-arch: + - x64 + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.julia-version }} + arch: ${{ matrix.julia-arch }} + - uses: julia-actions/cache@v1 + - run: julia --color=yes .ci/test_and_change_uuid.jl + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + env: + SPARSEARRAYS_AQUA_TEST: true docs: runs-on: ubuntu-latest steps: