Rename stages

This commit is contained in:
Julian Ospald 2021-10-10 17:22:42 +02:00
parent cd218ce025
commit f838112e8b
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -1,8 +1,8 @@
stages: stages:
- checks - linting
- quick-test - quick-tests
- test - tests
- expensive-test - expensive-tests
- release - release
variables: variables:
@ -232,7 +232,7 @@ variables:
######## stack test ######## ######## stack test ########
test:linux:stack: test:linux:stack:
stage: test stage: tests
before_script: before_script:
- ./.gitlab/before_script/linux/install_deps_minimal.sh - ./.gitlab/before_script/linux/install_deps_minimal.sh
script: script:
@ -244,7 +244,7 @@ test:linux:stack:
######## bootstrap test ######## ######## bootstrap test ########
test:linux:bootstrap_script: test:linux:bootstrap_script:
stage: quick-test stage: quick-tests
before_script: before_script:
- ./.gitlab/before_script/linux/install_deps_minimal.sh - ./.gitlab/before_script/linux/install_deps_minimal.sh
script: script:
@ -258,7 +258,7 @@ test:linux:bootstrap_script:
needs: [] needs: []
test:windows:bootstrap_powershell_script: test:windows:bootstrap_powershell_script:
stage: quick-test stage: quick-tests
script: script:
- ./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir $CI_PROJECT_DIR -BootstrapUrl $CI_PROJECT_DIR/bootstrap-haskell -InBash - ./scripts/bootstrap/bootstrap-haskell.ps1 -InstallDir $CI_PROJECT_DIR -BootstrapUrl $CI_PROJECT_DIR/bootstrap-haskell -InBash
after_script: after_script:
@ -276,7 +276,7 @@ test:windows:bootstrap_powershell_script:
######## linux test ######## ######## linux test ########
test:linux: test:linux:
stage: test stage: tests
extends: .test_ghcup_version:linux extends: .test_ghcup_version:linux
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -284,7 +284,7 @@ test:linux:
needs: [] needs: []
test:linux:hls: test:linux:hls:
stage: expensive-test stage: expensive-tests
extends: extends:
- .test_ghcup_version - .test_ghcup_version
- .debian - .debian
@ -301,7 +301,7 @@ test:linux:hls:
- ./.gitlab/script/ghcup_hls.sh - ./.gitlab/script/ghcup_hls.sh
test:linux:cross-armv7: test:linux:cross-armv7:
stage: expensive-test stage: expensive-tests
extends: extends:
- .test_ghcup_version - .test_ghcup_version
- .debian - .debian
@ -319,7 +319,7 @@ test:linux:cross-armv7:
- ./.gitlab/script/ghcup_cross.sh - ./.gitlab/script/ghcup_cross.sh
test:linux:git:hadrian: test:linux:git:hadrian:
stage: expensive-test stage: expensive-tests
extends: extends:
- .test_ghcup_version - .test_ghcup_version
- .debian - .debian
@ -341,7 +341,7 @@ test:linux:git:hadrian:
######## linux 32bit test ######## ######## linux 32bit test ########
test:linux:32bit: test:linux:32bit:
stage: test stage: tests
extends: .test_ghcup_version:linux32 extends: .test_ghcup_version:linux32
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -351,7 +351,7 @@ test:linux:32bit:
######## arm tests ######## ######## arm tests ########
test:linux:armv7: test:linux:armv7:
stage: test stage: tests
extends: .test_ghcup_version:armv7 extends: .test_ghcup_version:armv7
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -361,7 +361,7 @@ test:linux:armv7:
needs: [] needs: []
test:linux:aarch64: test:linux:aarch64:
stage: test stage: tests
extends: .test_ghcup_version:aarch64 extends: .test_ghcup_version:aarch64
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -373,7 +373,7 @@ test:linux:aarch64:
######## darwin test ######## ######## darwin test ########
test:mac: test:mac:
stage: test stage: tests
extends: .test_ghcup_version:darwin extends: .test_ghcup_version:darwin
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -381,7 +381,7 @@ test:mac:
needs: [] needs: []
test:mac:aarch64: test:mac:aarch64:
stage: test stage: tests
extends: .test_ghcup_version:darwin:aarch64 extends: .test_ghcup_version:darwin:aarch64
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -393,7 +393,7 @@ test:mac:aarch64:
######## freebsd test ######## ######## freebsd test ########
test:freebsd12: test:freebsd12:
stage: test stage: tests
extends: .test_ghcup_version:freebsd12 extends: .test_ghcup_version:freebsd12
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -403,7 +403,7 @@ test:freebsd12:
needs: [] needs: []
test:freebsd13: test:freebsd13:
stage: test stage: tests
extends: .test_ghcup_version:freebsd13 extends: .test_ghcup_version:freebsd13
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -415,7 +415,7 @@ test:freebsd13:
######## windows test ######## ######## windows test ########
test:windows: test:windows:
stage: test stage: tests
extends: .test_ghcup_version:windows extends: .test_ghcup_version:windows
variables: variables:
GHC_VERSION: "8.10.7" GHC_VERSION: "8.10.7"
@ -587,7 +587,7 @@ release:windows:
######## hlint ######## ######## hlint ########
hlint: hlint:
stage: checks stage: linting
extends: extends:
- .debian - .debian
script: script:
@ -602,7 +602,7 @@ hlint:
######## mkdocs ######## ######## mkdocs ########
mkdocs: mkdocs:
stage: checks stage: linting
extends: extends:
- .debian - .debian
before_script: before_script:
@ -619,7 +619,7 @@ shellcheck:
image: "koalaman/shellcheck-alpine" image: "koalaman/shellcheck-alpine"
tags: tags:
- x86_64-linux - x86_64-linux
stage: checks stage: linting
script: script:
- shellcheck scripts/bootstrap/bootstrap-haskell - shellcheck scripts/bootstrap/bootstrap-haskell
allow_failure: true allow_failure: true