mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-10 17:43:23 +01:00
Actually, only build if linting checks out. And make Gitlab CI work.
This commit is contained in:
parent
c4d74115f8
commit
cb63d3fef8
@ -62,7 +62,7 @@ lint:fmt:
|
||||
# Check if the code builds on rust stable
|
||||
stable:build:
|
||||
stage: build
|
||||
needs: []
|
||||
needs: ["lint:clippy", "lint:fmt"]
|
||||
only:
|
||||
- main
|
||||
- development
|
||||
@ -89,19 +89,23 @@ stable:build:
|
||||
reports:
|
||||
junit:
|
||||
- report.xml
|
||||
only:
|
||||
- main
|
||||
- development
|
||||
- merge_requests
|
||||
|
||||
# Run unit tests
|
||||
unit test 1/3:
|
||||
unit test 1:3:
|
||||
variables:
|
||||
TEST_TARGET: "--lib"
|
||||
extends: .tests
|
||||
|
||||
unit test 2/3:
|
||||
unit test 2:3:
|
||||
variables:
|
||||
TEST_TARGET: "--bins"
|
||||
extends: .tests
|
||||
|
||||
unit test 3/3:
|
||||
unit test 3:3:
|
||||
variables:
|
||||
TEST_TARGET: "--examples"
|
||||
extends: .tests
|
||||
|
Loading…
Reference in New Issue
Block a user