diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index e90e053..94a2c25 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -14,7 +14,7 @@ concurrency: jobs: tests: - uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@86823142467dd2afcd1bbac57d3a664cf468eb3b # v2.1.0 + uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1 with: envs: | - linux: codestyle @@ -31,7 +31,7 @@ jobs: - linux: py312-test-devdeps publish: needs: tests - uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@86823142467dd2afcd1bbac57d3a664cf468eb3b # v2.1.0 + uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1 with: test_extras: test test_command: pytest $GITHUB_WORKSPACE/tests; pytest --arraydiff $GITHUB_WORKSPACE/tests diff --git a/tests/test_pytest_arraydiff.py b/tests/test_pytest_arraydiff.py index 31c12cb..11a191b 100644 --- a/tests/test_pytest_arraydiff.py +++ b/tests/test_pytest_arraydiff.py @@ -24,6 +24,7 @@ def test_succeeds_func_text(): @pytest.mark.skipif(not NUMPY_LT_2_0, reason="AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use `np.str_` instead.") @pytest.mark.array_compare(file_format='pd_hdf', reference_dir=reference_dir) def test_succeeds_func_pdhdf(): + pytest.importorskip('tables') # Need this "optional" dependency pd = pytest.importorskip('pandas') return pd.DataFrame(data=np.arange(20, dtype='int64'), columns=['test_data'])