Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixS90 committed Jun 5, 2024
1 parent 24fddf1 commit 4a948d6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/actions/steps_download/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ inputs:
required: true
PkgRootFolder:
required: true
RunShell:
required: true
runs:
using: composite
steps:
Expand All @@ -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}}"
3 changes: 3 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 12 additions & 2 deletions .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -230,6 +239,7 @@ jobs:
PyVersionLatest: "${{inputs.PyVersionLatest}}"
ArtifactName: Sdist
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}"
RunShell: ${{ matrix..config.RunShell }}
needs: PackageSDist
Upload:
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a948d6

Please sign in to comment.