Files
timely-reference/.gitlab-ci.yml
Max Regan 0ee9d39e81 Clean up test code
Separate/consolidate board initialization code, and a few functions
that are shared across tests. Update the Makefile accordingly.

Resolves #18
2020-06-12 18:57:09 -07:00

39 lines
814 B
YAML

variables:
GIT_SUBMODULE_STRATEGY: "recursive"
.build_template: &build_template
image: registry.gitlab.maxregan.me/max/arm-build-image:latest
stage: build
script:
- make -C ./firmware/
artifacts:
paths:
- "firmware/Test/Apps/*.elf"
- "firmware/Test/Apps/*.bin"
- "firmware/Application/*.elf"
- "firmware/Application/*.bin"
build-devboard:
<<: *build_template
variables:
BOARD: devboard
build-watch:
<<: *build_template
variables:
BOARD: watch
test-watch:
stage: test
dependencies:
- build-watch
tags:
- tr-hw
- privileged
image: registry.gitlab.maxregan.me/max/timely-reference/test-exec
script:
- test/src/tr_test/test.py -v --durations=0 --junitxml=test-report.xml
artifacts:
reports:
junit: test-report.xml