1010 runs-on : windows-2022
1111 env :
1212 CRAFT_TARGET : windows-msvc2022_64-cl
13- COBERTURA_COVERAGE_FILE : ${{ github.workspace }}\cobertura_coverage\coverage.xml
1413 CRAFT_MASTER_LOCATION : ${{ github.workspace }}\CraftMaster
1514 CRAFT_MASTER_CONFIG : ${{ github.workspace }}\craftmaster.ini
1615 steps :
@@ -36,36 +35,14 @@ jobs:
3635 craft craft
3736 craft --install-deps nextcloud-client
3837
39- - name : Cache Install OpenCppCoverage
40- id : cache-install-opencppcoverage
41- uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
42- with :
43- path : C:\Program Files\OpenCppCoverage
44- key : ${{ runner.os }}-cache-install-opencppcoverage
45-
46- - name : Install OpenCppCoverage
47- if : steps.cache-install-opencppcoverage.outputs.cache-hit != 'true'
48- shell : pwsh
49- run : |
50- choco install opencppcoverage
51-
52- # - name: Cache Install inkscape
53- # id: cache-install-inkscape
54- # uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
55- # with:
56- # path: C:\Program Files\inkscape
57- # key: ${{ runner.os }}-cache-install-inkscape
58-
5938 - name : Install inkscape
60- # if: steps.cache-install-inkscape.outputs.cache-hit != 'true'
6139 shell : pwsh
6240 run : |
6341 choco install inkscape
6442
6543 - name : Setup PATH
6644 shell : pwsh
6745 run : |
68- echo "C:\Program Files\OpenCppCoverage" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
6946 echo "${{ github.workspace }}\${{ env.CRAFT_TARGET }}\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
7047
7148 - name : Compile
7855
7956 craft --src-dir ${{ github.workspace }} nextcloud-client
8057
81- - name : Run tests with coverage
58+ - name : Run tests
8259 shell : pwsh
8360 run : |
8461 function runTests() {
0 commit comments