diff --git a/.cruft.json b/.cruft.json index 7c05cb2..03522c7 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,7 +1,7 @@ { "template": "https://github.com/statisticsnorway/ssb-pypitemplate.git", - "commit": "be07b1714e102b263e86c5f6f5578af4db38a03e", - "checkout": null, + "commit": "e6f0ca2794354d16838cf36d97bee2f9f70d3142", + "checkout": "2024.9.10", "context": { "cookiecutter": { "project_name": "ssb-konjunk", diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt index 3cffcc0..127ea4d 100644 --- a/.github/workflows/constraints.txt +++ b/.github/workflows/constraints.txt @@ -1,5 +1,5 @@ -pip==24.0 -nox==2024.3.2 +pip==24.2 +nox==2024.4.15 nox-poetry==1.0.3 -poetry==1.8.2 -virtualenv==20.25.1 +poetry==1.8.3 +virtualenv==20.26.3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9be33e4..21ba5fe 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -34,7 +34,7 @@ jobs: poetry --version - name: Set up Python - uses: actions/setup-python@v5.1.0 + uses: actions/setup-python@v5.2.0 with: python-version: "3.12" cache: "poetry" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b6abc7..1f3c3e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: fetch-depth: 2 - name: Set up Python - uses: actions/setup-python@v5.1.0 + uses: actions/setup-python@v5.2.0 with: python-version: "3.12" @@ -61,11 +61,11 @@ jobs: - name: Publish package on PyPI if: steps.check-version.outputs.tag - uses: pypa/gh-action-pypi-publish@v1.8.14 + uses: pypa/gh-action-pypi-publish@v1.10.1 - name: Publish package on TestPyPI if: (!steps.check-version.outputs.tag) - uses: pypa/gh-action-pypi-publish@v1.8.14 + uses: pypa/gh-action-pypi-publish@v1.10.1 with: repository-url: https://test.pypi.org/legacy/ diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 193954e..f218ebe 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v5.1.0 + uses: actions/setup-python@v5.2.0 with: python-version: ${{ matrix.python }} @@ -102,6 +102,7 @@ jobs: with: name: coverage-data-${{ matrix.os }}-${{ matrix.python }} path: ".coverage.*" + include-hidden-files: true - name: Upload documentation if: matrix.session == 'docs-build' @@ -120,7 +121,7 @@ jobs: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up Python - uses: actions/setup-python@v5.1.0 + uses: actions/setup-python@v5.2.0 with: python-version: "3.12" @@ -167,4 +168,4 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # No need to run SonarCloud analysis if dependabot update or token not defined if: env.SONAR_TOKEN != '' && (github.actor != 'dependabot[bot]') - uses: SonarSource/sonarcloud-github-action@v2.1.1 + uses: SonarSource/sonarcloud-github-action@v3.0.0 diff --git a/tests/test_main.py b/tests/test_main.py index c7270db..4420a5b 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -6,7 +6,7 @@ from ssb_konjunk import __main__ -@pytest.fixture() +@pytest.fixture def runner() -> CliRunner: """Fixture for invoking command-line interfaces.""" return CliRunner()