diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe213df..f08ac04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,12 @@ stages: - Tests include: - - '.gitlab/tests.yml' + - project: 'shared/blueprints' + file: 'jobs/golang-tests.yml' + ref: master + inputs: + working_directory: "backend" + stage: Tests - project: 'shared/blueprints' file: 'jobs/docker-build.yml' ref: master diff --git a/.gitlab/tests.yml b/.gitlab/tests.yml deleted file mode 100644 index 9eeb041..0000000 --- a/.gitlab/tests.yml +++ /dev/null @@ -1,8 +0,0 @@ -Golang Tests: - stage: Tests - image: siteworxpro/golang:1.24.0 - script: - - echo "Running Go tests..." - - cd backend - - go mod download - - go test -v ./... -coverprofile=coverage.out