Skip to content

Commit

Permalink
Fix coveralls reporting again (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
prisae authored Jun 27, 2024
1 parent 0df1389 commit 6ef2b45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,8 @@ jobs:
pytest --cov=empymod ${{ matrix.case.test }}
- name: Coveralls
# [pin v20201129]
uses: AndreMiras/coveralls-python-action@f5fd5c309b39d01599fb92c72d4f7409ea78aec9
# v Did not work when tried; final coverage was wrong v
# uses: coverallsapp/github-action@v2
# [pin @develop@20230609]
uses: AndreMiras/coveralls-python-action@65c1672f0b8a201702d86c81b79187df74072505
with:
parallel: true
flag-name: ${{ matrix.case.python-version }} ${{ matrix.case.name }} (${{ matrix.case.os }})
Expand All @@ -144,10 +142,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
# [pin v20201129]
uses: AndreMiras/coveralls-python-action@f5fd5c309b39d01599fb92c72d4f7409ea78aec9
# v Did not work when tried; final coverage was wrong v
# uses: coverallsapp/github-action@v2
# [pin @develop@20230609]
uses: AndreMiras/coveralls-python-action@65c1672f0b8a201702d86c81b79187df74072505
with:
parallel-finished: true

Expand Down
2 changes: 1 addition & 1 deletion empymod/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ def get_dlf_points(filt, inp, nr_per_dec):

# Get pts_per_dec and define number of out-values, depending on pts_per_dec
if nr_per_dec < 0: # Lagged Convolution DLF
pts_per_dec = 1/np.log(filt.factor)
pts_per_dec = np.squeeze(1/np.log(filt.factor))

# Calculate number of output values
nout = int(np.ceil(np.log(outmax/outmin)*pts_per_dec) + 1)
Expand Down

0 comments on commit 6ef2b45

Please sign in to comment.