This is an projected aimed at show the usage of GitHub Actions with Python Project which unit test framework is pytest
由于是Python项目,因此依赖位于requirements.txt 具体如下:
pip install -r requirements.txt
Successfully installed APScheduler-3.9.1 PyNaCl-1.5.0 PyYAML-6.0 Python-Multipart-0.0.6 SQLAlchemy-1.4.41 anyio-3.6.1 autopep8-1.7.0 backports.zoneinfo-0.2.1 bcrypt-4.0.0 certifi-2022.6.15 cffi-1.15.1 charset-normalizer-2.1.0 click-8.1.3 colorama-0.4.5 cryptography-38.0.1 distlib-0.3.5 docker-6.0.1 fastapi-0.89.1 filelock-3.8.0 greenlet-1.1.3 h11-0.14.0 httptools-0.5.0 idna-3.3 importlib-metadata-6.0.0 jsonpickle-3.0.1 loguru-0.6.0 packaging-23.0 paramiko-2.11.0 platformdirs-2.5.2 pycodestyle-2.9.1 pycparser-2.21 pycrypto-2.6.1 pycryptodome-3.17 pydantic-1.10.2 python-dotenv-0.21.0 pytz-2022.4 pytz-deprecation-shim-0.1.0.post0 requests-2.28.1 six-1.16.0 sniffio-1.3.0 starlette-0.22.0 toml-0.10.2 typing_extensions-4.3.0 tzdata-2022.4 tzlocal-4.2 urllib3-1.26.11 utils-1.0.1 uvicorn-0.18.3 virtualenv-20.16.3 watchfiles-0.18.1 websocket-client-1.4.2 websockets-10.4 win32-setctime-1.1.0 zipp-3.11.0