-
Notifications
You must be signed in to change notification settings - Fork 0
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 #4 from B612-Asteroid-Institute/subpackage-reset
New adam-assist propagator and impact detector as subpackage
- Loading branch information
Showing
8 changed files
with
616 additions
and
587 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,40 @@ | ||
name: pip - Build Lint Test and Coverage | ||
|
||
on: | ||
push: | ||
branches: [ main, "v*"] | ||
pull_request: | ||
branches: [ main, "v*"] | ||
|
||
jobs: | ||
build-lint-test-coverage: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- name: Checkout git repo | ||
uses: actions/checkout@v3 | ||
- name: Get git tags | ||
run: git fetch --prune --unshallow --tags | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: "pip" | ||
# # Use pip to install dependencies | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install .[dev] | ||
# Run tests | ||
- name: Run tests | ||
run: | | ||
pytest tests/ --cov=src --cov-report xml | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@v2 | ||
with: | ||
path-to-lcov: coverage.xml |
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,31 +1,50 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "adam-assist" | ||
dynamic = ["version"] | ||
version = "0.1.0" | ||
description = 'ADAM Core Propagator class using ASSIST' | ||
authors = [ | ||
{ name = "Alec Koumjian", email = "[email protected]" }, | ||
{ name = "Kathleen Kiker" } | ||
] | ||
readme = "README.md" | ||
requires-python = ">=3.11" | ||
keywords = [] | ||
authors = [{ name = "Alec Koumjian", email = "[email protected]" }] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
] | ||
requires-python = ">=3.11,<4.0" | ||
dependencies = [ | ||
"assist @ git+https://github.com/B612-Asteroid-Institute/assist.git@ak/wip", | ||
"adam-core @ git+https://github.com/B612-Asteroid-Institute/adam_core@main", | ||
"naif-de440", | ||
"numpy", | ||
"rebound", | ||
"ray", | ||
"adam-core @ git+https://github.com/B612-Asteroid-Institute/adam_core.git@ak/impacts", | ||
"assist", | ||
"naif-de440", | ||
"numpy", | ||
"ray", | ||
"spiceypy>=6.0.0" | ||
] | ||
|
||
[build-system] | ||
requires = ["pdm-backend"] | ||
build-backend = "pdm.backend" | ||
[tool.pdm.build] | ||
includes = ["src/adam_core/"] | ||
# package-dir = "src" | ||
|
||
[project.urls] | ||
Documentation = "https://github.com/unknown/adam-assist#readme" | ||
Issues = "https://github.com/unknown/adam-assist/issues" | ||
Source = "https://github.com/unknown/adam-assist" | ||
"Documentation" = "https://github.com/unknown/adam-assist#readme" | ||
"Issues" = "https://github.com/unknown/adam-assist/issues" | ||
"Source" = "https://github.com/unknown/adam-assist" | ||
|
||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-benchmark", | ||
"black", | ||
"isort", | ||
"ipython" | ||
] | ||
|
||
[tool.black] | ||
line-length = 88 | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.