Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps): Bump codecov/codecov-action from 3 to 4 #1041

Merged
merged 3 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ jobs:
source tools/ci/activate.sh
make $CHECK_TYPE
if: ${{ matrix.check != 'skiptests' }}
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
file: cov.xml
effigies marked this conversation as resolved.
Show resolved Hide resolved
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ always() }}
3 changes: 2 additions & 1 deletion .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ jobs:
source tools/ci/activate.sh
make $CHECK_TYPE
if: ${{ matrix.check != 'skiptests' }}
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
file: cov.xml
effigies marked this conversation as resolved.
Show resolved Hide resolved
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ always() }}
5 changes: 3 additions & 2 deletions bids/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import tempfile
import os
import json
import warnings
import pytest
from bids.config import reset_options
from bids.tests import get_test_data_path
Expand Down Expand Up @@ -66,7 +67,7 @@ def test_extension_initial_dot(mock_config):
bids.config.set_option('extension_initial_dot', True)

# No warnings on layout construction
with pytest.warns(None) as record:
with warnings.catch_warnings():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warnings.simplefilter("error")
layout = bids.BIDSLayout(ds117)
assert len(record) == 0
assert layout.get(extension='nii.gz')[0].entities['extension'] == '.nii.gz'
Loading