Skip to content

Commit e9f1dc1

Browse files
authored
Splitting LinearAlgebra tests (#103)
With `FORCE_ASSERTIONS=1` and `LLVM_ASSERTIONS=1`, the CI is often timing out as `test-stdlib` is taking longer than 6h. This PR splits the LinearAlgebra tests, making them run separately, hopefully avoiding `test-stdlib` to timeout.
1 parent 366eff3 commit e9f1dc1

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Running LinearAlgebra as a separate item
2+
# Given it takes on average more than 2.5h to run
3+
4+
set -e
5+
6+
. $(dirname "$0")/common.sh
7+
8+
echo "-> Run single threaded"
9+
ci_run_jl_test "LinearAlgebra" 1

.github/scripts/ci-test-stdlib.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ declare -a tests_to_skip=(
2020
# FIXME: We should run this test when the above issue is resolved.
2121
"Pkg",
2222
"SparseArrays"
23+
# Running LinearAlgebra in a separate job
24+
"LinearAlgebra"
2325
)
2426
# These tests need multiple workers.
2527
declare -a tests_with_multi_workers=(
@@ -28,7 +30,6 @@ declare -a tests_with_multi_workers=(
2830
# These tests run with a single worker
2931
declare -a tests_with_single_worker=(
3032
"SparseArrays",
31-
"LinearAlgebra"
3233
)
3334

3435
stdlib_path=$JULIA_PATH/usr/share/julia/stdlib

.github/workflows/binding-tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,19 @@ jobs:
5757
- name: Test Julia
5858
run: |
5959
./.github/scripts/ci-test-stdlib.sh
60+
61+
build-test-LinearAlgebra:
62+
runs-on: ubuntu-22.04
63+
timeout-minutes: 360
64+
steps:
65+
- uses: actions/checkout@v2
66+
- name: Setup environments
67+
run: |
68+
./.github/scripts/ci-checkout.sh
69+
./.github/scripts/ci-setup.sh
70+
- name: Build Julia (Release)
71+
run: |
72+
./.github/scripts/ci-build.sh release ${{ inputs.gc_plan }}
73+
- name: Test Julia
74+
run: |
75+
./.github/scripts/ci-test-LinearAlgebra.sh

0 commit comments

Comments
 (0)