-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: isolate test suite #99
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
699e98d
feat: tests for steps
cpaniaguam 4134845
Add new files and directories to .gitignore
cpaniaguam a937cbc
feat: handle tar.gz via lfs
cpaniaguam f870e1b
feat: add test data files for steps 2-5
cpaniaguam b7db6e7
refactor: test_steps
cpaniaguam 52046b9
fix: remove old script runs outside test suite
cpaniaguam 4d2f223
fix: remove unnecessary steps from and rename to tests
cpaniaguam 1a87f84
Merge branch '96-isolate-test-suite' of https://github.com/brown-ccv/…
cpaniaguam c97573d
added test dependecies
kmilo9999 3439ff0
merge with main
kmilo9999 0d1dbf2
renamed github workflow file
kmilo9999 2eb7063
restoring test.yml file
kmilo9999 980d30b
fixed test step 3
kmilo9999 830bbc7
test: tests for steps 5-7
cpaniaguam de32013
test: update CI workflow to use test suite
cpaniaguam 4d1f98e
fix: add lfs
cpaniaguam 6fe6b38
fix: delete entry point
cpaniaguam df023e6
fix: restore original smoke test workflow with verbose
cpaniaguam 276b1b0
ci: workflow with test suite
cpaniaguam fe27354
refactor: create_script function to accept track_name parameter
cpaniaguam f2fe347
fix: restore .gitignore
cpaniaguam 7a37d26
docs: add module level docstring and some comments
cpaniaguam 4511492
Merge branch '96-isolate-test-suite' of https://github.com/brown-ccv/…
cpaniaguam b362171
Apply suggestions from code review
cpaniaguam c9a02df
Apply suggestions from code review
cpaniaguam b1da226
Apply suggestions from code review
cpaniaguam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
*.tar.gz filter=lfs diff=lfs merge=lfs -text |
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,30 @@ | ||
name: Test Steps | ||
on: | ||
pull_request: {} | ||
push: | ||
branches: [ main ] | ||
jobs: | ||
python_run_scripts: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: ['3.11'] | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: install mpi | ||
run: sudo apt update && sudo apt-get install openmpi-bin openmpi-doc libopenmpi-dev | ||
- uses: actions/checkout@v3 | ||
with: | ||
lfs: true | ||
- name: setup python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.version }} # install the python version needed | ||
cache: "pip" | ||
- name: install icesat2-tracks using pip | ||
run: pip install . | ||
- name: install pytest | ||
run: pip install pytest pytest-xdist pytest-sugar pytest-durations | ||
- name: Run tests | ||
run: pytest --capture=sys --verbose --showlocals --tb=long --numprocesses=auto tests/test_steps.py | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to this file are no longer related to the main change, so we could split these out. But I think they are fine.