From 40fb36f240cfc5d3256c401736c51a28621ca2e0 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Wed, 12 Jul 2023 01:38:51 +0800 Subject: [PATCH] [cicd] fix github test workflow --- .github/workflows/test.yaml | 2 +- requirements-dev.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7877b22..5dfd88b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,7 +27,7 @@ jobs: run: | python -m pip install --upgrade pip pip install pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - name: Test with pytest run: | mv demo/config.py.simple demo/config.py diff --git a/requirements-dev.txt b/requirements-dev.txt index c305d1e..2a3f858 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,11 +8,16 @@ h11==0.14.0 ; python_version >= "3.11" and python_version < "4.0" httpcore==0.17.3 ; python_version >= "3.11" and python_version < "4.0" httpx==0.24.1 ; python_version >= "3.11" and python_version < "4.0" idna==3.4 ; python_version >= "3.11" and python_version < "4.0" +iniconfig==2.0.0 ; python_version >= "3.11" and python_version < "4.0" itsdangerous==2.1.2 ; python_version >= "3.11" and python_version < "4.0" jinja2==3.1.2 ; python_version >= "3.11" and python_version < "4.0" loguru==0.7.0 ; python_version >= "3.11" and python_version < "4.0" markupsafe==2.1.3 ; python_version >= "3.11" and python_version < "4.0" +packaging==23.1 ; python_version >= "3.11" and python_version < "4.0" +pluggy==1.2.0 ; python_version >= "3.11" and python_version < "4.0" pycryptodome==3.18.0 ; python_version >= "3.11" and python_version < "4.0" +pytest-mock==3.11.1 ; python_version >= "3.11" and python_version < "4.0" +pytest==7.4.0 ; python_version >= "3.11" and python_version < "4.0" sniffio==1.3.0 ; python_version >= "3.11" and python_version < "4.0" werkzeug==2.3.6 ; python_version >= "3.11" and python_version < "4.0" win32-setctime==1.1.0 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32"