-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into enh/add_rtd_badge
- Loading branch information
Showing
40 changed files
with
669 additions
and
533 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Run coverage | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
tags: | ||
- '**' | ||
- '!latest' | ||
- '!latest-tmp' | ||
jobs: | ||
run: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
env: | ||
OS: ${{ matrix.os }} | ||
PYTHON: '3.8' | ||
steps: | ||
- name: Cancel Workflow Action | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: 'recursive' | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U -r requirements-dev.txt -r requirements.txt | ||
python setup.py develop | ||
- name: Run tests and generate coverage report | ||
run: | | ||
python -m coverage run test.py --pynwb | ||
coverage report -m | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
fail_ci_if_error: true |
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,4 +1,4 @@ | ||
“pynwb” Copyright (c) 2017-2020, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
“pynwb” Copyright (c) 2017-2021, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
|
||
If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Innovation & Partnerships Office at [email protected]. | ||
|
||
|
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 |
---|---|---|
|
@@ -85,7 +85,7 @@ For details on how to contribute to PyNWB see our `contribution guidelines <docs | |
LICENSE | ||
======= | ||
|
||
"pynwb" Copyright (c) 2017-2019, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
"pynwb" Copyright (c) 2017-2021, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
(1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
|
@@ -101,7 +101,7 @@ You are under no obligation whatsoever to provide any bug fixes, patches, or upg | |
COPYRIGHT | ||
========= | ||
|
||
"pynwb" Copyright (c) 2017-2020, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
"pynwb" Copyright (c) 2017-2021, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved. | ||
If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Innovation & Partnerships Office at [email protected]. | ||
|
||
NOTICE. This Software was developed under funding from the U.S. Department of Energy and the U.S. Government consequently retains certain rights. As such, the U.S. Government has been granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, distribute copies to the public, prepare derivative works, and perform publicly and display publicly, and to permit other to do so. |
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,149 @@ | ||
trigger: none | ||
|
||
pr: none | ||
|
||
schedules: | ||
- cron: "0 5 * * *" | ||
displayName: nightly | ||
branches: | ||
include: dev | ||
|
||
jobs: | ||
|
||
- job: 'Test' | ||
displayName: "Test PyNWB" | ||
|
||
strategy: | ||
matrix: | ||
macOS-py3.9: | ||
imageName: 'macos-10.15' | ||
pythonVersion: '3.9' | ||
testToxEnv: 'py39' | ||
coverageToxEnv: '' | ||
buildToxEnv: 'build-py39' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
macOS-py3.8-upgrade-dev-pre: | ||
imageName: 'macos-10.15' | ||
pythonVersion: '3.8' | ||
testToxEnv: 'py38-upgrade-dev-pre' | ||
coverageToxEnv: '' | ||
buildToxEnv: 'build-py38-upgrade-dev-pre' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
macOS-py3.8-upgrade-dev: | ||
imageName: 'macos-10.15' | ||
pythonVersion: '3.8' | ||
testToxEnv: 'py38-upgrade-dev' | ||
buildToxEnv: 'build-py38-upgrade-dev' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
macOS-py3.8: | ||
imageName: 'macos-10.15' | ||
pythonVersion: '3.8' | ||
testToxEnv: 'py38' | ||
buildToxEnv: 'build-py38' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
macOS-py3.7: | ||
imageName: 'macos-10.15' | ||
pythonVersion: '3.7' | ||
testToxEnv: 'py37' | ||
buildToxEnv: 'build-py37' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
macOS-py3.6: | ||
imageName: 'macos-10.15' | ||
pythonVersion: '3.6' | ||
testToxEnv: 'py36' | ||
buildToxEnv: 'build-py36' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
macOS-py3.6-min-req: | ||
imageName: 'macos-10.15' | ||
pythonVersion: '3.6' | ||
testToxEnv: 'py36-min-req' | ||
buildToxEnv: 'build-py36-min-req' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
Windows-py3.9: | ||
imageName: 'vs2017-win2016' | ||
pythonVersion: '3.9' | ||
testToxEnv: 'py39' | ||
coverageToxEnv: '' | ||
buildToxEnv: 'build-py39' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
Windows-py3.8-upgrade-dev-pre: | ||
imageName: 'vs2017-win2016' | ||
pythonVersion: '3.8' | ||
testToxEnv: 'py38-upgrade-dev-pre' | ||
coverageToxEnv: '' | ||
buildToxEnv: 'build-py38-upgrade-dev-pre' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
Windows-py3.8-upgrade-dev: | ||
imageName: 'vs2017-win2016' | ||
pythonVersion: '3.8' | ||
testToxEnv: 'py38-upgrade-dev' | ||
buildToxEnv: 'build-py38-upgrade-dev' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
Windows-py3.8: | ||
imageName: 'vs2017-win2016' | ||
pythonVersion: '3.8' | ||
testToxEnv: 'py38' | ||
buildToxEnv: 'build-py38' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
Windows-py3.7: | ||
imageName: 'vs2017-win2016' | ||
pythonVersion: '3.7' | ||
testToxEnv: 'py37' | ||
buildToxEnv: 'build-py37' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
Windows-py3.6: | ||
imageName: 'vs2017-win2016' | ||
pythonVersion: '3.6' | ||
testToxEnv: 'py36' | ||
buildToxEnv: 'build-py36' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
Windows-py3.6-min-req: | ||
imageName: 'vs2017-win2016' | ||
pythonVersion: '3.6' | ||
testToxEnv: 'py36-min-req' | ||
buildToxEnv: 'build-py36-min-req' | ||
testWheelInstallEnv: 'wheelinstall' | ||
|
||
pool: | ||
vmImage: $(imageName) | ||
|
||
steps: | ||
|
||
- checkout: self | ||
submodules: true | ||
|
||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(pythonVersion)' | ||
architecture: 'x64' | ||
|
||
- script: | | ||
python -m pip install --upgrade pip | ||
python -m pip install --upgrade setuptools | ||
python -m pip install setuptools wheel virtualenv tox | ||
displayName: 'Install build dependencies' | ||
- bash: | | ||
tox -e $(testToxEnv) | ||
displayName: 'Run tox tests' | ||
- bash: | | ||
tox -e $(buildToxEnv) | ||
displayName: 'Run build tests' | ||
- bash: | | ||
tox -e $(testWheelInstallEnv) --recreate --installpkg dist/*-none-any.whl | ||
displayName: 'Run wheel install tests' |
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
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.