-
Notifications
You must be signed in to change notification settings - Fork 2
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 #99 from brown-ccv/96-isolate-test-suite
feat: isolate test suite
- Loading branch information
Showing
10 changed files
with
452 additions
and
9 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
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.