From 10b546215b00a13b34c056b1ba4d5e3f58dab453 Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Fri, 10 Jan 2025 10:25:02 +0100 Subject: [PATCH] CI: Drop workaround to pass pymatgen related failed tests --- .github/workflows/ci-code.yml | 3 --- .github/workflows/test-install.yml | 3 --- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index 2dff45406..7ff4a9d86 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -76,12 +76,9 @@ jobs: AIIDA_WARN_v3: 1 # NOTE1: Python 3.12 has a performance regression when running with code coverage # so run code coverage only for python 3.9. - # NOTE2: Unset CI envvar to workaround a pymatgen issue for Python 3.9 - # https://github.com/materialsproject/pymatgen/issues/4243 # TODO: Remove a workaround for VIRTUAL_ENV once the setup-uv action is updated # https://github.com/astral-sh/setup-uv/issues/219 run: | - ${{ matrix.python-version == '3.9' && 'unset CI' || '' }} ${{ matrix.python-version == '3.9' && 'VIRTUAL_ENV=$PWD/.venv' || '' }} pytest -n auto --db-backend ${{ matrix.database-backend }} -m 'not nightly' tests/ ${{ matrix.python-version == '3.9' && '--cov aiida' || '' }} diff --git a/.github/workflows/test-install.yml b/.github/workflows/test-install.yml index 58a10e378..e3f249b99 100644 --- a/.github/workflows/test-install.yml +++ b/.github/workflows/test-install.yml @@ -211,11 +211,8 @@ jobs: env: AIIDA_TEST_PROFILE: test_aiida AIIDA_WARN_v3: 1 - # Unset CI envvar to workaround a pymatgen issue for Python 3.9 - # https://github.com/materialsproject/pymatgen/issues/4243 # TODO: Remove a workaround for VIRTUAL_ENV once the setup-uv action is updated # https://github.com/astral-sh/setup-uv/issues/219 run: | - ${{ matrix.python-version == '3.9' && 'unset CI' || '' }} ${{ matrix.python-version == '3.9' && 'VIRTUAL_ENV=$PWD/.venv' || '' }} pytest -n auto --db-backend psql tests -m 'not nightly' tests/