File tree Expand file tree Collapse file tree 2 files changed +6
-20
lines changed
Expand file tree Collapse file tree 2 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -44,15 +44,10 @@ reference:
4444 # uid 1001 but uid 1000 is used in the containers.
4545 sudo chown -R 1000 .
4646
47- run_unit_tests_step : &run_unit_tests_step
47+ run_tests_step : &run_tests_step
4848 run :
49- name : Run unit tests
50- command : make test-unit
51-
52- run_functional_tests_step : &run_functional_tests_step
53- run :
54- name : Run functional tests
55- command : make test-functional
49+ name : Run tests
50+ command : make tests
5651
5752 build_release_step : &build_release_step
5853 run :
7267 - << : *build_docker_image_step
7368 - << : *restore_cache_step
7469 - << : *chown_working_directory_step
75- - << : *run_unit_tests_step
76- - << : *run_functional_tests_step
70+ - << : *run_tests_step
7771 - << : *enlight_cache_step
7872 - << : *save_cache_step
7973
Original file line number Diff line number Diff line change @@ -18,15 +18,7 @@ build-release:
1818 docker-compose run --rm app \
1919 cargo build --release
2020
21- # https://manpages.debian.org/testing/cargo/cargo-test.1.en.html
22- .PHONY : test-unit
23- test-unit :
24- docker-compose run --rm app \
25- cargo test --tests $(TEST_FLAGS ) \
26- -p ci \
27- # add the other packages to test with the -p flag
28-
29- .PHONY : test-functional
30- test-functional :
21+ .PHONY : tests
22+ tests :
3123 docker-compose run --rm app \
3224 cargo test --tests $(TEST_FLAGS )
You can’t perform that action at this time.
0 commit comments