There was an error while loading. Please reload this page.
1 parent bf57a34 commit d516ce4Copy full SHA for d516ce4
1 file changed
.github/workflows/test-unit.yml
@@ -22,10 +22,17 @@ jobs:
22
if: matrix.os != 'ubuntu-latest'
23
- run: make test-unit race=true coverage=true
24
if: matrix.os == 'ubuntu-latest'
25
+ - name: Test cmd/osgen (separate module)
26
+ if: matrix.os == 'ubuntu-latest'
27
+ run: |
28
+ cd cmd/osgen
29
+ rm -rf tmp && mkdir -p tmp/osgen
30
+ go test -race -cover ./... -args -test.gocoverdir=${{ github.workspace }}/cmd/osgen/tmp/osgen
31
+ go tool covdata textfmt -i=tmp/osgen -o ${{ github.workspace }}/tmp/osgen.cov
32
- uses: codecov/codecov-action@v5
33
with:
34
token: ${{ secrets.CODECOV_TOKEN }}
- files: tmp/unit.cov
35
+ files: tmp/unit.cov,tmp/osgen.cov
36
flags: unit
37
38
0 commit comments