-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,10 @@ on: | |
secrets: | ||
CODECOV_TOKEN: | ||
required: true | ||
ACTIONS_RUNNER_DEBUG: | ||
required: false | ||
ACTIONS_STEP_DEBUG: | ||
required: false | ||
inputs: | ||
Pure: | ||
required: false | ||
|
@@ -36,6 +40,8 @@ permissions: | |
contents: read | ||
jobs: | ||
CodeQualityAnalysis-Test: | ||
# TODO: Only debugging | ||
if: github.event_name != 'push' | ||
name: Static Analysis and Tests | ||
runs-on: windows-2019 | ||
outputs: | ||
|
@@ -150,11 +156,11 @@ jobs: | |
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}" | ||
OS: "${{matrix.config.OS}}" | ||
CIBWBEFOREALL: "${{matrix.config.CIBWBEFOREALL}}" | ||
if: inputs.Pure == false | ||
if: inputs.Pure == false && github.event_name != 'push' # TODO: Only debugging | ||
PackageWheelsPure: | ||
name: Package Pure Wheels | ||
runs-on: windows-2019 | ||
if: inputs.Pure == true | ||
if: inputs.Pure == true && github.event_name != 'push' # TODO: Only debugging | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -177,6 +183,7 @@ jobs: | |
name: Wheel${{inputs.PyVersionLatest}} | ||
path: "${{ github.workspace }}\\${{inputs.PkgRootFolder}}\\dist" | ||
PackageSDist: | ||
if: github.event_name != 'push' # TODO: Only debugging | ||
name: Package Source Distribution | ||
runs-on: windows-2019 | ||
steps: | ||
|
@@ -215,9 +222,10 @@ jobs: | |
ArtifactName: Wheel${{inputs.PyVersionLatest}} | ||
PkgRootFolder: "${{ github.workspace }}/${{inputs.PkgRootFolder}}" | ||
RunShell: cmd | ||
if: inputs.Pure == true | ||
if: inputs.Pure == true && github.event_name != 'push' # TODO: Only debugging | ||
needs: PackageWheelsPure | ||
DownloadTestSdist: | ||
if: github.event_name != 'push' # TODO: Only debugging | ||
strategy: | ||
matrix: | ||
config: | ||
|
@@ -254,7 +262,7 @@ jobs: | |
- PackageWheelsPure | ||
- PackageSdist | ||
runs-on: windows-2019 | ||
if: needs.CodeQualityAnalysis-Test.result == 'success' && contains(fromJSON('["skipped", "success"]'), needs.DownloadTestSdist.result) && contains(fromJSON('["skipped", "success"]'), needs.DownloadTestWheelsPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageWheelsNonPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageWheelsPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageSdist.result) && github.event_name != 'pull_request' && needs.CodeQualityAnalysis-Test.outputs.pypi_released == 'true' | ||
if: contains(fromJSON('["skipped", "success"]'), needs.DownloadTestSdist.result) && contains(fromJSON('["skipped", "success"]'), needs.DownloadTestWheelsPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageWheelsNonPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageWheelsPure.result) && contains(fromJSON('["skipped", "success"]'), needs.PackageSdist.result) && github.event_name != 'pull_request' && contains(fromJSON('["skipped", "success"]'), needs.CodeQualityAnalysis-Test.result) # && needs.CodeQualityAnalysis-Test.result == 'success' && needs.CodeQualityAnalysis-Test.outputs.pypi_released == 'true' | ||
environment: | ||
# TODO: Only for testing purposes | ||
# name: pypi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters