Skip to content

Commit

Permalink
handling merge
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Sep 2, 2024
2 parents 0383d8b + 7548e3c commit d678904
Show file tree
Hide file tree
Showing 20 changed files with 9,360 additions and 436 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/CI_Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,11 @@ jobs:
python-version: '3.9'
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install this package
run: pip install -e .
run: pip install -e '.[dev]'

- name: Run pytest
run: cd tests && pytest
run: pytest

- name: Run the smoke tests
run: |
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,17 @@ The package is also available on PyPi and can be installed in any Python environ
pip install acom_music_box
```

# Tests
# Developing

After installing music box for local development `pip install -e .`
Install music box as an editable installation.

```
pip install -e '.[dev]'
```

After installing music box for local development

```
cd tests
pytest
```

Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ Home = "https://github.com/NCAR/music-box"
[project.scripts]
music_box = "acom_music_box.main:main"
waccmToMusicBox = "acom_music_box.tools.waccmToMusicBox:main"

[project.optional-dependencies]
dev = [
"pytest",
"pytest-mock"
]
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

Loading

0 comments on commit d678904

Please sign in to comment.