update template code

This commit is contained in:
phatakmr
2025-10-13 14:48:00 +02:00
parent c9d159fcc6
commit 8f637a4a0d
46 changed files with 2955 additions and 1 deletions

21
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,21 @@
cache:
key: "project-${CI_JOB_NAME}"
paths:
- .torch-home
# cache installs from previous tests
stages:
- test
unit-test-job:
stage: test
image: mmp-img-test # in the test environment, no CUDA is available
before_script:
- export TORCH_HOME="$CI_PROJECT_DIR/.torch-home"
script:
- pytest tests/ --junitxml=report.xml # export in junit format for GitLab
# generate a report on GitLab
artifacts:
when: always
reports:
junit: report.xml