Skip to content

Commit a3e6e7d

Browse files
committed
Split calls to test/test.sh into several buildkite jobs
Motivations: * Take advantage of parallel jobs execution ; * Identify faster what is the test that is failing ; * Don't have a failing test hidden behind a previous sequential test fail.
1 parent cc8f2c6 commit a3e6e7d

File tree

2 files changed

+235
-130
lines changed

2 files changed

+235
-130
lines changed

.buildkite/pipeline.yml

Lines changed: 73 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,76 @@
11
steps:
2-
- label: 'Run tests with ghc8107'
3-
command: "./test/tests.sh ghc8107"
2+
- label: 'Run tests with ghc8107: Running the nix-build tests...'
3+
command: "./test/tests.sh ghc8107 nix-build"
4+
agents:
5+
system: x86_64-linux
6+
7+
- label: 'Run tests with ghc8107: Running the unit tests...'
8+
command: "./test/tests.sh ghc8107 unit-tests"
9+
agents:
10+
system: x86_64-linux
11+
12+
- label: 'Run tests with ghc8107: Checking that a nix-shell works for runghc...'
13+
command: "./test/tests.sh ghc8107 runghc"
14+
agents:
15+
system: x86_64-linux
16+
17+
- label: 'Run tests with ghc8107: Checking that a nix-shell works for cabal...'
18+
command: "./test/tests.sh ghc8107 cabal"
19+
agents:
20+
system: x86_64-linux
21+
22+
- label: 'Run tests with ghc8107: Checking that a nix-shell works for cabal (doExactConfig component)...'
23+
command: "./test/tests.sh ghc8107 cabal-doExactConfig"
24+
agents:
25+
system: x86_64-linux
26+
27+
- label: 'Run tests with ghc8107: Checking that a nix-shell works for a project with test-suite build-tools and benchmarks...'
28+
command: "./test/tests.sh ghc8107 tests-benchmarks"
29+
agents:
30+
system: x86_64-linux
31+
32+
- label: 'Run tests with ghc8107: Checking that a nix-shell works for a multi-target project...'
33+
command: "./test/tests.sh ghc8107 multi-target"
34+
agents:
35+
system: x86_64-linux
36+
37+
- label: 'Run tests with ghc8107: Checking shellFor works for a cabal project, multiple packages...'
38+
command: "./test/tests.sh ghc8107 shellFor-single-package"
39+
agents:
40+
system: x86_64-linux
41+
42+
- label: 'Run tests with ghc8107: Checking shellFor works for a cabal project, single package...y'
43+
command: "./test/tests.sh ghc8107 shellFor-multiple-package"
44+
agents:
45+
system: x86_64-linux
46+
47+
- label: 'Run tests with ghc8107: Checking shellFor works for a cabal project, single package...'
48+
command: "./test/tests.sh ghc8107 shellFor-hoogle"
49+
agents:
50+
system: x86_64-linux
51+
52+
- label: 'Run tests with ghc8107: Checking shellFor does not depend on given packages...y'
53+
command: "./test/tests.sh ghc8107 shellFor-not-depends"
54+
agents:
55+
system: x86_64-linux
56+
57+
- label: 'Run tests with ghc8107: Checking the maintainer scripts...y'
58+
command: "./test/tests.sh ghc8107 maintainer-scripts"
59+
agents:
60+
system: x86_64-linux
61+
62+
- label: 'Run tests with ghc8107: Checking that plan construction works with extra Hackages...'
63+
command: "./test/tests.sh ghc8107 plan-extra-hackages"
64+
agents:
65+
system: x86_64-linux
66+
67+
- label: 'Run tests with ghc8107: Checking that package with extra Hackages can be build...'
68+
command: "./test/tests.sh ghc8107 build-extra-hackages"
69+
agents:
70+
system: x86_64-linux
71+
72+
- label: 'Run tests with ghc8107: End-2-end test of hix project initialization and flakes development shell ...'
73+
command: "./test/tests.sh ghc8107 hix"
474
agents:
575
system: x86_64-linux
676

@@ -56,3 +126,4 @@ steps:
56126
- "HIX_DIR=$(mktemp -d) nix run .#hix --accept-flake-config -- run github:haskell/cabal/3.8#cabal-install:exe:cabal --accept-flake-config --override-input haskellNix . -- --version"
57127
agents:
58128
system: x86_64-linux
129+

0 commit comments

Comments
 (0)