diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index e90054d8..1ebbd6b5 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,12 +1,75 @@ --- steps: - - label: ":test_tube: Test the package" + - label: "Julia 1.6" + plugins: + - JuliaCI/julia#v1: + version: "1.6" + - JuliaCI/julia-test#v1: + - JuliaCI/julia-coverage#v1: + agents: + queue: "juliaecosystem" + sandbox.jl: "true" + os: "linux" + arch: "x86_64" + timeout_in_minutes: 15 + - label: "Julia 1.7" + plugins: + - JuliaCI/julia#v1: + version: "1.7" + - JuliaCI/julia-test#v1: + - JuliaCI/julia-coverage#v1: + agents: + queue: "juliaecosystem" + sandbox.jl: "true" + os: "linux" + arch: "x86_64" + timeout_in_minutes: 15 + - label: "Julia 1.8" + plugins: + - JuliaCI/julia#v1: + version: "1.8" + - JuliaCI/julia-test#v1: + - JuliaCI/julia-coverage#v1: + agents: + queue: "juliaecosystem" + sandbox.jl: "true" + os: "linux" + arch: "x86_64" + timeout_in_minutes: 15 + - label: "Julia 1.9" + plugins: + - JuliaCI/julia#v1: + version: "1.9" + - JuliaCI/julia-test#v1: + - JuliaCI/julia-coverage#v1: + agents: + queue: "juliaecosystem" + sandbox.jl: "true" + os: "linux" + arch: "x86_64" + timeout_in_minutes: 15 + - label: "Julia 1" plugins: - JuliaCI/julia#v1: version: "1" - commands: | - julia --version + - JuliaCI/julia-test#v1: + - JuliaCI/julia-coverage#v1: + agents: + queue: "juliaecosystem" + sandbox.jl: "true" + os: "linux" + arch: "x86_64" + timeout_in_minutes: 15 + - label: "Julia nightly" + plugins: + - JuliaCI/julia#v1: + version: "nightly" + - JuliaCI/julia-test#v1: + - JuliaCI/julia-coverage#v1: agents: queue: "juliaecosystem" + sandbox.jl: "true" os: "linux" arch: "x86_64" + timeout_in_minutes: 15 + soft_fail: true diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml deleted file mode 100644 index 082a9ad3..00000000 --- a/.github/workflows/CI.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: CI -on: - pull_request: - branches: - - master - push: - branches: - - master - tags: '*' -jobs: - test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} - runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.julia-version == 'nightly' }} - strategy: - fail-fast: false - matrix: - version: - - '1.0' - - '1.6' - - '1' - - 'nightly' - arch: - - x64 - os: - - ubuntu-latest - include: - - version: '1.5' - arch: x64 - os: ubuntu-20.04 - - version: '1.7' - arch: x64 - os: ubuntu-20.04 - - version: '1.8' - arch: x64 - os: ubuntu-22.04 - - version: '1.9' - arch: x64 - os: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: actions/cache@v4 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v3 - with: - file: lcov.info