-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.3.0: speed improvements and new helpers (#30)
* New helper finder that can check and find_asteroids_in_mmr methods. * Moved astdys to a standalone package * Add an ability to set multiple mmrs per body (speed up calculations) * Better configs for save and plot (more options, more universation, see docs) * Updated documentation. * Removed old code. * Type of output image (pdf/png). * Save summary option. * Tests + 100% coverage * Update ci settings
- Loading branch information
Showing
50 changed files
with
3,085 additions
and
3,081 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 |
---|---|---|
@@ -1,46 +1,47 @@ | ||
name: Resonances App | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.11.1] | ||
poetry-version: [1.3.2] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install poetry ${{ matrix.poetry-version }} | ||
run: | | ||
python -m ensurepip | ||
python -m pip install --upgrade pip | ||
python -m pip install poetry==${{ matrix.poetry-version }} | ||
- name: View poetry --help | ||
run: poetry --help | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: python -m poetry install --no-root | ||
|
||
- name: Code Quality | ||
run: poetry run black . --check | ||
|
||
- name: Lint | ||
run: poetry run flake8 --count | ||
|
||
- name: Test with pytest | ||
run: | | ||
poetry run pytest -v tests/resonances | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.11.1] | ||
poetry-version: [1.3.2] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install poetry ${{ matrix.poetry-version }} | ||
run: | | ||
python -m ensurepip | ||
python -m pip install --upgrade pip | ||
python -m pip install poetry==${{ matrix.poetry-version }} | ||
- name: View poetry --help | ||
run: poetry --help | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: python -m poetry install | ||
|
||
- name: Code Quality | ||
run: poetry run black . --check | ||
|
||
- name: Lint | ||
run: poetry run flake8 --count | ||
|
||
- name: Test with pytest | ||
run: | | ||
poetry run pytest -v tests/resonances |
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.