diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3e8cabf..adba4e4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -108,8 +108,9 @@ jobs: timeout-minutes: 1 - name: Upload coverage to codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: + token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml fail_ci_if_error: true if: matrix.os == 'ubuntu-latest' diff --git a/tests/test_jupyter_config.py b/tests/test_jupyter_config.py index f44366e..e3b8024 100644 --- a/tests/test_jupyter_config.py +++ b/tests/test_jupyter_config.py @@ -19,7 +19,7 @@ def test_parse_version(): sortable when we compare against previously installed initialize blocks. """ version = parse_version(__version__) - assert type(version) == Version + assert isinstance(version, Version) def test_initialize_block_content():