diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 3d3e091ddc..178859d290 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -77,9 +77,9 @@ jobs: export REDIS_URL=redis://localhost:6379 poetry run pytest tests --cov --no-cov-on-fail --cov-report= # Change to explicitly install v1 when reflex-hosting-cli is compatible with v2 - - name: Run unit tests w/ pydantic v2 + - name: Run unit tests w/ pydantic v1 run: | export PYTHONUNBUFFERED=1 - poetry run pip install "pydantic>2" + poetry run pip install "pydantic~=1.10" poetry run pytest tests --cov --no-cov-on-fail --cov-report= - run: poetry run coverage html