diff --git a/.github/actions/test-e2e/action.yml b/.github/actions/test-e2e/action.yml index 4467a449c..47d8a874e 100644 --- a/.github/actions/test-e2e/action.yml +++ b/.github/actions/test-e2e/action.yml @@ -37,7 +37,7 @@ runs: shell: bash - name: Upload test coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: name: e2e-coverage @@ -53,7 +53,7 @@ runs: annotate_notice: true job_name: ${{ inputs.report_job }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: always() with: name: test-artifacts diff --git a/.github/actions/test-unit/action.yml b/.github/actions/test-unit/action.yml index be645b1a6..b1b26b3ac 100644 --- a/.github/actions/test-unit/action.yml +++ b/.github/actions/test-unit/action.yml @@ -27,20 +27,20 @@ runs: - name: Test run: | - coverage run -p -m pytest -v ./tests/unit/ \ + coverage run -p -m pytest -v -n 2 ./tests/unit/ \ --timeout=120 --timeout_method=thread \ --junitxml="./test-results/test-unit-new-${{ inputs.os }}-${{ inputs.python-version }}.xml" shell: bash - name: Upload test coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: name: ${{ inputs.coverage-artifacts-name }} path: ./.coverage* - name: Upload test reports - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: name: test-artifacts diff --git a/.github/neptune_client_pyproject.toml b/.github/neptune_client_pyproject.toml index 90a2e809e..98c111240 100644 --- a/.github/neptune_client_pyproject.toml +++ b/.github/neptune_client_pyproject.toml @@ -13,7 +13,6 @@ python = "^3.7" # Python lack of functionalities from future versions importlib-metadata = { version = "*", python = "<3.8" } -dataclasses = { version = ">=0.6", python = "<3.7" } # Missing compatibility layer between Python 2 and Python 3 six = ">=1.12.0" diff --git a/pyproject.toml b/pyproject.toml index 799c6468f..56438520d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,6 @@ python = "^3.7" # Python lack of functionalities from future versions importlib-metadata = { version = "*", python = "<3.8" } -dataclasses = { version = ">=0.6", python = "<3.7" } # Missing compatibility layer between Python 2 and Python 3 six = ">=1.12.0" diff --git a/tests/unit/neptune/new/client/test_model.py b/tests/unit/neptune/new/client/test_model.py index 1c1dc4572..8c6bff20f 100644 --- a/tests/unit/neptune/new/client/test_model.py +++ b/tests/unit/neptune/new/client/test_model.py @@ -106,3 +106,8 @@ def test_name_parameter(self): with init_model(key="TRY", name="some_name") as exp: exp.wait() self.assertEqual(exp["sys/name"].fetch(), "some_name") + + @unittest.skip("NPT-12753 Flaky test") + def test_async_mode_stop_on_dead(self): + # Check abstract mixin class for details + pass