forked from DEAP/deap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fmder-azure-pipelines' into fmder-metacreator
- Loading branch information
Showing
26 changed files
with
1,147 additions
and
414 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
trigger: | ||
- master | ||
- dev | ||
|
||
jobs: | ||
- job: 'Tests' | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
strategy: | ||
matrix: | ||
Python39: | ||
python.version: '3.9' | ||
Python310: | ||
python.version: '3.10' | ||
Python311: | ||
python.version: '3.11' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
displayName: 'Use Python $(python.version)' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip wheel | ||
displayName: 'Install build tools' | ||
- script: | | ||
pip install . | ||
displayName: 'Install library' | ||
- script: | | ||
pip install pytest pytest-azurepipelines pytest-cov | ||
pytest . | ||
displayName: 'Run tests' | ||
# - job: 'Lint' | ||
# pool: | ||
# vmImage: 'ubuntu-latest' | ||
# steps: | ||
# - task: UsePythonVersion@0 | ||
# inputs: | ||
# versionSpec: '3.9' | ||
|
||
# - script: | | ||
# pip install flake8 | ||
# flake8 . | ||
# displayName: 'Run linting' |
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
Oops, something went wrong.