File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,11 +32,18 @@ jobs:
3232 name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
3333 path : ./wheelhouse/*.whl
3434
35+ - name : Get coverage files
36+ if : matrix.os == 'linux-intel'
37+ id : get-coverage-files
38+ run : |
39+ FILES=$(find ./wheelhouse -type f -name 'coverage*' -printf '%p ')
40+ echo "files=$FILES" >> $GITHUB_OUTPUT
41+
3542 - name : Coveralls
3643 if : matrix.os == 'linux-intel'
3744 uses : coverallsapp/github-action@v2
3845 with :
39- files : ./wheelhouse/.coverage*
46+ files : ${{ steps.get-files.outputs.files }}
4047
4148 build-sdist :
4249 name : Build source distribution
Original file line number Diff line number Diff line change 88try :
99 if os .getenv ("RUNNER_OS" ) == "Linux" :
1010 os .makedirs ("/output" , exist_ok = True )
11- shutil .move (".coverage" , f"/output/. coverage.{ uuid .uuid4 ().hex } " )
11+ shutil .move (".coverage" , f"/output/coverage.{ uuid .uuid4 ().hex } " )
1212except Exception :
1313 traceback .print_exc ()
You can’t perform that action at this time.
0 commit comments