|
72 | 72 | id: collection
|
73 | 73 | # jq flags must be "-cRn" see: https://stackoverflow.com/a/68859958/1655275
|
74 | 74 | run: |
|
75 |
| - echo "tests-data=$(go list ./internal/integrationtest/... | grep integrationtest/ | tr "/" " " | cut -d " " -f 6 | grep lib | jq -cRn '[inputs]')" >> $GITHUB_OUTPUT |
| 75 | + echo "tests-data=$(go list ./internal/integrationtest/... | grep integrationtest/ | tr "/" " " | cut -d " " -f 6 | jq -cRn '[inputs]')" >> $GITHUB_OUTPUT |
76 | 76 |
|
77 | 77 | test-integration:
|
78 | 78 | needs: tests-collector
|
@@ -121,53 +121,52 @@ jobs:
|
121 | 121 | path: |
|
122 | 122 | ./coverage_integration_*.txt
|
123 | 123 |
|
124 |
| - test: |
125 |
| - needs: run-determination |
126 |
| - strategy: |
127 |
| - fail-fast: false |
128 |
| - matrix: |
129 |
| - operating-system: |
130 |
| - - windows-latest |
131 |
| - - macos-latest |
132 |
| - - ubuntu-latest |
133 |
| - |
134 |
| - runs-on: ${{ matrix.operating-system }} |
135 |
| - |
136 |
| - steps: |
137 |
| - # By default, actions/checkout converts the repo's LF line endings to CRLF on the Windows runner. |
138 |
| - - name: Disable EOL conversions |
139 |
| - run: git config --global core.autocrlf false |
140 |
| - |
141 |
| - - name: Checkout repository |
142 |
| - uses: actions/checkout@v4 |
143 |
| - |
144 |
| - - name: Install Go |
145 |
| - uses: actions/setup-go@v5 |
146 |
| - with: |
147 |
| - go-version: ${{ env.GO_VERSION }} |
148 |
| - |
149 |
| - - name: Install Task |
150 |
| - uses: arduino/setup-task@v2 |
151 |
| - with: |
152 |
| - repo-token: ${{ secrets.GITHUB_TOKEN }} |
153 |
| - version: 3.x |
154 |
| - |
155 |
| - - name: Run tests |
156 |
| - run: task go:test |
157 |
| - |
158 |
| - - name: Upload coverage data to workflow artifact |
159 |
| - if: runner.os == 'Linux' |
160 |
| - uses: actions/upload-artifact@v4 |
161 |
| - with: |
162 |
| - if-no-files-found: error |
163 |
| - name: ${{ env.COVERAGE_ARTIFACT }}-test-${{ matrix.operating-system }} |
164 |
| - path: | |
165 |
| - ./coverage_unit.txt |
| 124 | + # test: |
| 125 | + # needs: run-determination |
| 126 | + # strategy: |
| 127 | + # fail-fast: false |
| 128 | + # matrix: |
| 129 | + # operating-system: |
| 130 | + # - windows-latest |
| 131 | + # - macos-latest |
| 132 | + # - ubuntu-latest |
| 133 | + # |
| 134 | + # runs-on: ${{ matrix.operating-system }} |
| 135 | + # |
| 136 | + # steps: |
| 137 | + # # By default, actions/checkout converts the repo's LF line endings to CRLF on the Windows runner. |
| 138 | + # - name: Disable EOL conversions |
| 139 | + # run: git config --global core.autocrlf false |
| 140 | + # |
| 141 | + # - name: Checkout repository |
| 142 | + # uses: actions/checkout@v4 |
| 143 | + # |
| 144 | + # - name: Install Go |
| 145 | + # uses: actions/setup-go@v5 |
| 146 | + # with: |
| 147 | + # go-version: ${{ env.GO_VERSION }} |
| 148 | + # |
| 149 | + # - name: Install Task |
| 150 | + # uses: arduino/setup-task@v2 |
| 151 | + # with: |
| 152 | + # repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 153 | + # version: 3.x |
| 154 | + # |
| 155 | + # - name: Run tests |
| 156 | + # run: task go:test |
| 157 | + # |
| 158 | + # - name: Upload coverage data to workflow artifact |
| 159 | + # if: runner.os == 'Linux' |
| 160 | + # uses: actions/upload-artifact@v4 |
| 161 | + # with: |
| 162 | + # if-no-files-found: error |
| 163 | + # name: ${{ env.COVERAGE_ARTIFACT }}-test-${{ matrix.operating-system }} |
| 164 | + # path: | |
| 165 | + # ./coverage_unit.txt |
166 | 166 |
|
167 | 167 | coverage-upload:
|
168 | 168 | runs-on: ubuntu-latest
|
169 | 169 | needs:
|
170 |
| - - test |
171 | 170 | - test-integration
|
172 | 171 | steps:
|
173 | 172 | - name: Checkout repository
|
|
0 commit comments