From e68580ca3c7c86e0acfef41114c3cf5d13d4a885 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Sun, 28 May 2023 23:53:40 -0400 Subject: [PATCH] bypass the upstream pymatgen error for CI (#1233) --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c6426a971..f68067034 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,8 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: pip install coverage pymatgen==2023.3.23 -e . + # See https://github.com/materialsproject/api/issues/809 + run: pip install coverage pymatgen==2023.3.23 -e . 'mp-api<0.33; python_version < "3.9"' - name: Test run: coverage run --source=./dpgen -m unittest -v && coverage report - uses: codecov/codecov-action@v3