diff --git a/.github/actions/steps_download/action.yml b/.github/actions/steps_download/action.yml index 183ce88..db04619 100644 --- a/.github/actions/steps_download/action.yml +++ b/.github/actions/steps_download/action.yml @@ -6,6 +6,8 @@ inputs: required: true PkgRootFolder: required: true + RunShell: + required: true runs: using: composite steps: @@ -30,5 +32,5 @@ runs: TESTRESULTSPATH: "${{ runner.temp }}" COVRESULTSPATH: "${{ runner.temp }}\\cov.xml" run: tox --installpkg ${{ runner.workspace }}/${{inputs.ArtifactName}}/* -vv -r -s true - shell: bash + shell: "${{inputs.RunShell}}" working-directory: "${{inputs.PkgRootFolder}}" \ No newline at end of file diff --git a/.github/codecov.yml b/.github/codecov.yml index 82d5fc0..8bc4d6b 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -37,3 +37,6 @@ component_management: - "_pylibCZIrw/" comment: layout: "header, diff, flags, components" # show component info in the PR comment +ignore: + - "pylibCZIrw/tests" # ignore tests + - "_pylibCZIrw/tests" # ignore tests diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml index 787305f..f127105 100644 --- a/.github/workflows/build-reusable.yml +++ b/.github/workflows/build-reusable.yml @@ -214,13 +214,22 @@ jobs: PyVersionLatest: "${{inputs.PyVersionLatest}}" ArtifactName: Wheel${{inputs.PyVersionLatest}} PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}" + RunShell: cmd if: inputs.Pure == true needs: PackageWheelsPure DownloadTestSdist: strategy: matrix: - os: [ubuntu-latest, windows-2019] - runs-on: ${{ matrix.OS }} + config: + - { + OS: ubuntu-latest, + RunShell: bash, + } + - { + OS: windows-2019, + RunShell: cmd, + } + runs-on: ${{ matrix..config.OS }} steps: - uses: actions/checkout@v4.1.0 with: @@ -230,6 +239,7 @@ jobs: PyVersionLatest: "${{inputs.PyVersionLatest}}" ArtifactName: Sdist PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}" + RunShell: ${{ matrix..config.RunShell }} needs: PackageSDist Upload: permissions: diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index f6f7ae3..57ce82f 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -18,7 +18,7 @@ concurrency: cancel-in-progress: true env: - DOCPATH: pylibCZIrw-documentation.html + DOCPATH: index.html jobs: # Single deploy job since we're just deploying