ci: 🚧 python github action cache added 🚀

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
This commit is contained in:
Onuralp SEZER
2023-10-12 12:44:48 +03:00
parent 35142fc755
commit bed7ed45b4
2 changed files with 24 additions and 3 deletions
+7 -3
View File
@@ -17,10 +17,14 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: 🦾 Install dependencies
check-latest: true
cache: 'pip'
cache-dependency-path: '**/requirements-dev.txt'
- name: 📦 Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest
pip install -r .github/requirements-dev.txt
- name: 🧪 Test
run: "python -m pytest ./test"