diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 76f0610b..ffd6b7fc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -133,7 +133,17 @@ jobs: - run: | pip install .[test,all] pip uninstall -y argcomplete omegaconf pyyaml reconplogger responses ruyaml types-PyYAML - pytest + pytest --cov --cov-report=term --cov-report=xml --junit-xml=junit.xml + mv coverage.xml coverage_without_pyyaml.xml + mv junit.xml junit_without_pyyaml.xml + - uses: actions/upload-artifact@v4 + with: + name: coverage_without_pyyaml + path: ./coverage_without_pyyaml + - uses: actions/upload-artifact@v4 + with: + name: junit_without_pyyaml + path: ./junit_without_pyyaml build-package: runs-on: ubuntu-latest @@ -204,7 +214,7 @@ jobs: codecov: runs-on: ubuntu-latest - needs: [linux, pydantic-v1] + needs: [linux, pydantic-v1, without-pyyaml] steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 @@ -223,7 +233,7 @@ jobs: sonarcloud: runs-on: ubuntu-latest - needs: [linux, pydantic-v1] + needs: [linux, pydantic-v1, without-pyyaml] steps: - uses: actions/checkout@v4 with: diff --git a/pyproject.toml b/pyproject.toml index 14d0e015..1eb0bdae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,7 @@ requires = ["setuptools"] build-backend = "setuptools.build_meta" + [project] name = "jsonargparse" dynamic = ["version"] @@ -121,14 +122,12 @@ maintainer = [ "twine>=4.0.2", ] - [project.urls] Documentation-stable = "https://jsonargparse.readthedocs.io/en/stable/" Documentation-latest = "https://jsonargparse.readthedocs.io/en/latest/" Changes = "https://jsonargparse.readthedocs.io/en/stable/changelog.html" GitHub = "https://github.com/omni-us/jsonargparse" PyPI = "https://pypi.org/project/jsonargparse" -CircleCI = "https://circleci.com/gh/omni-us/jsonargparse" SonarCloud = "https://sonarcloud.io/dashboard?id=omni-us_jsonargparse" Codecov = "https://codecov.io/gh/omni-us/jsonargparse" @@ -137,11 +136,9 @@ Codecov = "https://codecov.io/gh/omni-us/jsonargparse" platforms = ["Any"] packages = ["jsonargparse", "jsonargparse_tests"] - [tool.setuptools.dynamic] version = {attr = "jsonargparse.__version__"} - [tool.setuptools.package-data] jsonargparse = ["py.typed"]