-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
directly call matlab program in test suite
installs octave and oct2py in development requirements development requirements includes pytest/flake8/numpy uses AntTG coordinates as reference points for comparison update workflow for both python package and request upgrade linux workflow to use ubuntu-20.04 update version number for release
- Loading branch information
1 parent
66ec509
commit 186d44d
Showing
11 changed files
with
191 additions
and
62 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
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
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 |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
minversion = 2.0 | ||
norecursedirs = .git | ||
python_files = test*.py | ||
testpaths = | ||
test |
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,2 +1,5 @@ | ||
flake8 | ||
pytest>=4.6 | ||
pytest-cov | ||
numpy | ||
oct2py |
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,15 @@ | ||
import pytest | ||
|
||
def pytest_addoption(parser): | ||
parser.addoption("--username", action="store", help="NASA Earthdata username") | ||
parser.addoption("--password", action="store", help="NASA Earthdata password") | ||
|
||
@pytest.fixture | ||
def username(request): | ||
""" Returns NASA Earthdata username """ | ||
return request.config.getoption("--username") | ||
|
||
@pytest.fixture | ||
def password(request): | ||
""" Returns NASA Earthdata password """ | ||
return request.config.getoption("--password") |
Oops, something went wrong.