File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 DOCKER_REPOSITORY : marcofontana17/cce_prototipo
1515
1616jobs :
17- test :
17+ build-and- test :
1818 name : Run Tests
1919 runs-on : ${{ matrix.os }}
2020
@@ -72,10 +72,12 @@ jobs:
7272
7373 - name : Run tests with coverage for ${{ matrix.module.name }}
7474 working-directory : ${{ matrix.module.path }}
75+ shell : bash # ← force Bash on Windows, macOS and Linux
7576 run : go test -coverprofile=coverage.out ./...
7677
7778 - name : Display coverage report for ${{ matrix.module.name }}
7879 working-directory : ${{ matrix.module.path }}
80+ shell : bash # ← also force Bash here
7981 run : go tool cover -func=coverage.out
8082
8183 - name : Check test coverage threshold for ${{ matrix.module.name }}
@@ -96,10 +98,10 @@ jobs:
9698# name: codecov-${{ matrix.module.name }}
9799# continue-on-error: true
98100
99- build-and-push :
101+ push-docker-images :
100102 runs-on : ubuntu-latest
101103 name : Build and Push Docker Images
102- needs : test # This ensures tests must pass before building
104+ needs : build-and- test # This ensures tests must pass before building
103105
104106 strategy :
105107 matrix :
You can’t perform that action at this time.
0 commit comments