Skip to content

Split calls to test/test.sh into several buildkite jobs #1629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 73 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,76 @@
steps:
- label: 'Run tests with ghc8107'
command: "./test/tests.sh ghc8107"
- label: 'Run tests with ghc8107: Running the nix-build tests...'
command: "./test/tests.sh ghc8107 nix-build"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Running the unit tests...'
command: "./test/tests.sh ghc8107 unit-tests"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking that a nix-shell works for runghc...'
command: "./test/tests.sh ghc8107 runghc"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking that a nix-shell works for cabal...'
command: "./test/tests.sh ghc8107 cabal"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking that a nix-shell works for cabal (doExactConfig component)...'
command: "./test/tests.sh ghc8107 cabal-doExactConfig"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking that a nix-shell works for a project with test-suite build-tools and benchmarks...'
command: "./test/tests.sh ghc8107 tests-benchmarks"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking that a nix-shell works for a multi-target project...'
command: "./test/tests.sh ghc8107 multi-target"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking shellFor works for a cabal project, multiple packages...'
command: "./test/tests.sh ghc8107 shellFor-single-package"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking shellFor works for a cabal project, single package...y'
command: "./test/tests.sh ghc8107 shellFor-multiple-package"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking shellFor works for a cabal project, single package...'
command: "./test/tests.sh ghc8107 shellFor-hoogle"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking shellFor does not depend on given packages...y'
command: "./test/tests.sh ghc8107 shellFor-not-depends"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking the maintainer scripts...y'
command: "./test/tests.sh ghc8107 maintainer-scripts"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking that plan construction works with extra Hackages...'
command: "./test/tests.sh ghc8107 plan-extra-hackages"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: Checking that package with extra Hackages can be build...'
command: "./test/tests.sh ghc8107 build-extra-hackages"
agents:
system: x86_64-linux

- label: 'Run tests with ghc8107: End-2-end test of hix project initialization and flakes development shell ...'
command: "./test/tests.sh ghc8107 hix"
agents:
system: x86_64-linux

Expand Down Expand Up @@ -56,3 +126,4 @@ steps:
- "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"
agents:
system: x86_64-linux

Loading