Skip to content
Snippets Groups Projects
Commit d3e4569a authored by Millian Poquet's avatar Millian Poquet
Browse files

[ci] script: keep built batsched for tests + cover

parent 86c03745
Branches
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ stages: ...@@ -7,6 +7,7 @@ stages:
- build - build
- update_dependencies_cache - update_dependencies_cache
- test - test
- coverage
############################################################################### ###############################################################################
# Build stage # Build stage
...@@ -15,6 +16,9 @@ build: ...@@ -15,6 +16,9 @@ build:
stage: build stage: build
script: script:
- ./ci/build.bash - ./ci/build.bash
artifacts:
paths:
- /builds/batsim/batsched/build
############################################################################### ###############################################################################
# Dependencies cache stage # Dependencies cache stage
...@@ -30,9 +34,29 @@ update_dependencies_cache: ...@@ -30,9 +34,29 @@ update_dependencies_cache:
test_pinned_batsim: test_pinned_batsim:
stage: test stage: test
script: script:
- nix-shell ./ci -A test_pinned --command './ci/run-tests.bash' - nix-shell ./ci -A test_deps_pinned --command './ci/run-tests.bash'
dependencies:
- build
artifacts:
paths:
- /builds/batsim/batsched/build
test_dev_batsim: test_dev_batsim:
stage: test stage: test
script: script:
- nix-shell ./ci -A test_dev --command './ci/run-tests.bash' - nix-shell ./ci -A test_deps_dev --command './ci/run-tests.bash'
dependencies:
- build
###############################################################################
# Coverage stage
###############################################################################
coverage:
stage: coverage
script:
- nix-shell ./ci -A test_deps_pinned --command './ci/analyze-coverage.bash'
dependencies:
- test_pinned_batsim
artifacts:
paths:
- /builds/batsim/batsched/cover
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment