Skip to content

Commit

Permalink
Merge pull request #581 from slayoo/pip
Browse files Browse the repository at this point in the history
cleanup in GA workflow thanks to pip package presence
  • Loading branch information
slayoo authored Jul 12, 2021
2 parents 2941466 + 8252461 commit 9404ef2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,9 @@ jobs:
- run: |
python -We -c "import PySDM"
# note: this installs PySDM-examples including its dependencies which inclde PySDM itself...
- run: |
pip install -r test-time-requirements.txt
# note: ... hence reverting to the currently tested version
- run: |
pip install -e .
# https://github.com/numba/numba/issues/6350#issuecomment-728174860
- if: matrix.platform == 'ubuntu-latest'
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_at_t_0(spectral_sampling, plot=False):

# Assert
key = 'S_VI'
spectrum = output[f'dm_{key}/dlog_10(dry diameter)'][0][0]
spectrum = output[f'dm_{key}/dlog_10(dry diameter)'][0]
peaks, props = find_peaks(spectrum)
assert len(peaks) == 1
assert 3 < np.amax(spectrum) < 5
2 changes: 1 addition & 1 deletion test-time-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ ghapi
pytest

# note: if cloning both PySDM and PySDM examples, consider "pip install -e"
git+git://github.com/atmos-cloud-sim-uj/PySDM-examples@99c7063#egg=PySDM-examples
PySDM-examples @ git+git://github.com/atmos-cloud-sim-uj/PySDM-examples@0b7c0a8#egg=PySDM-examples

0 comments on commit 9404ef2

Please sign in to comment.