-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from timkpaine/rewerk
Rewrite "Reactive" functionality as "Streaming"
- Loading branch information
Showing
106 changed files
with
3,250 additions
and
2,747 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1,33 +1,128 @@ | ||
# Python package | ||
# Create and test a Python package on multiple Python versions. | ||
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: | ||
# https://docs.microsoft.com/azure/devops/pipelines/languages/python | ||
|
||
trigger: | ||
- master | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
|
||
strategy: | ||
matrix: | ||
Python36: | ||
python.version: '3.6' | ||
Python37: | ||
python.version: '3.7' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
displayName: 'Use Python $(python.version)' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip | ||
pip install -e .[dev] | ||
displayName: 'Install dependencies' | ||
|
||
- script: | | ||
make lint | ||
make tests | ||
displayName: 'pytest' | ||
jobs: | ||
- job: 'Linux' | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
|
||
strategy: | ||
matrix: | ||
Python37: | ||
python.version: '3.7' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
displayName: 'Use Python $(python.version)' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip | ||
pip install -e .[dev] | ||
displayName: 'Install dependencies' | ||
- script: | | ||
make lint | ||
displayName: 'Lint' | ||
- script: | ||
make tests | ||
displayName: 'Test' | ||
|
||
- task: PublishTestResults@2 | ||
condition: succeededOrFailed() | ||
inputs: | ||
testResultsFiles: 'python_junit.xml' | ||
testRunTitle: 'Publish test results for Python $(python.version) $(manylinux_flag)' | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
inputs: | ||
codeCoverageTool: Cobertura | ||
summaryFileLocation: '$(System.DefaultWorkingDirectory)/*coverage.xml' | ||
|
||
- job: 'Mac' | ||
pool: | ||
vmImage: 'macos-10.14' | ||
|
||
strategy: | ||
matrix: | ||
Python37: | ||
python.version: '3.7' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
displayName: 'Use Python $(python.version)' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip | ||
pip install -e .[dev] | ||
displayName: 'Install dependencies' | ||
- script: | | ||
make lint | ||
displayName: 'Lint' | ||
- script: | | ||
make tests | ||
displayName: 'Test' | ||
- task: PublishTestResults@2 | ||
condition: succeededOrFailed() | ||
inputs: | ||
testResultsFiles: 'python_junit.xml' | ||
testRunTitle: 'Publish test results for Python $(python.version) $(manylinux_flag)' | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
inputs: | ||
codeCoverageTool: Cobertura | ||
summaryFileLocation: '$(System.DefaultWorkingDirectory)/*coverage.xml' | ||
|
||
- job: 'Windows' | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
|
||
strategy: | ||
matrix: | ||
Python37: | ||
python.version: '3.7' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
displayName: 'Use Python $(python.version)' | ||
|
||
- script: | | ||
which python > python.txt | ||
set /p PYTHON=<python.txt | ||
ln -s %PYTHON% %PYTHON%$(python.version) | ||
python --version | ||
which python$(python.version) | ||
displayName: "Which python" | ||
- script: | | ||
python -m pip install --upgrade pip | ||
pip install -e .[dev] | ||
displayName: 'Install dependencies' | ||
- script: | | ||
make lint | ||
displayName: 'Lint' | ||
- script: | | ||
make tests | ||
displayName: 'Test' | ||
- task: PublishTestResults@2 | ||
condition: succeededOrFailed() | ||
inputs: | ||
testResultsFiles: 'python_junit.xml' | ||
testRunTitle: 'Publish test results for Python $(python.version) $(manylinux_flag)' | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
inputs: | ||
codeCoverageTool: Cobertura | ||
summaryFileLocation: '$(System.DefaultWorkingDirectory)/*coverage.xml' |
Oops, something went wrong.