From e7d4222425502070efda5d921afb8c2da97ca8e0 Mon Sep 17 00:00:00 2001 From: pavel Date: Sun, 15 Sep 2024 14:52:14 +0300 Subject: [PATCH 1/2] fix lib version in documentation --- docs/common/installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/common/installation.rst b/docs/common/installation.rst index 57eded5e..0f9d9bc5 100644 --- a/docs/common/installation.rst +++ b/docs/common/installation.rst @@ -20,5 +20,5 @@ So, this is valid installation variants: .. code-block:: text - pip install adaptix[attrs-strict]==3.0.0b6 - pip install adaptix[attrs, sqlalchemy-strict]==3.0.0b6 + pip install adaptix[attrs-strict]==3.0.0b8 + pip install adaptix[attrs, sqlalchemy-strict]==3.0.0b8 From 8cf5809d3ee47db3b89cba3865c9bbc76974c1ef Mon Sep 17 00:00:00 2001 From: pavel Date: Fri, 13 Sep 2024 21:44:42 +0300 Subject: [PATCH 2/2] fix coverage on ci --- .github/workflows/lint_and_test.yml | 15 ++++++++------- .github/workflows/test_all_oses.yml | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index c6598bb5..a0c74c02 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -23,7 +23,7 @@ jobs: timeout-minutes: 3 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: Set up Python 3.11 uses: actions/setup-python@v5 @@ -65,10 +65,10 @@ jobs: os: ['ubuntu-latest'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: Set up Python 3.11 - uses: actions/setup-python@v5 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 with: python-version: ${{ matrix.python_version.setup }} @@ -91,12 +91,13 @@ jobs: --cov-output .coverage.${{ matrix.python_version.tox }} - name: Store coverage file - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 if: ${{ (matrix.python_version.cov && github.event_name == 'pull_request') }} with: name: coverage-${{ matrix.python_version.tox }} path: .coverage.${{ matrix.python_version.tox }} if-no-files-found: error + include-hidden-files: true - name: Run tests without coverage if: ${{ !(matrix.python_version.cov && github.event_name == 'pull_request') }} @@ -114,9 +115,9 @@ jobs: if: ${{ github.event_name == 'pull_request' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 id: download with: pattern: coverage-* @@ -131,7 +132,7 @@ jobs: MINIMUM_GREEN: 90 - name: Store Pull Request comment to be posted (for external pr) - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true' with: name: python-coverage-comment-action diff --git a/.github/workflows/test_all_oses.yml b/.github/workflows/test_all_oses.yml index ecf3ee27..fa945e6d 100644 --- a/.github/workflows/test_all_oses.yml +++ b/.github/workflows/test_all_oses.yml @@ -33,10 +33,10 @@ jobs: os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: Set up Python 3.11 - uses: actions/setup-python@v5 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 with: python-version: ${{ matrix.python_version.setup }}