Skip to content

add retry for readin #1513

add retry for readin

add retry for readin #1513

Workflow file for this run

name: Django Project checker
on: [push]
jobs:
django-integrity:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout the Code
uses: actions/checkout@v3
- name: Get Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Case try other python
if: ${{ failure() }}
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install pipenv
run: python -m pip install --upgrade pipenv
- id: cache-pipenv
uses: actions/cache@v3
with:
path: ~/.local/share/virtualenvs/
key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}
- name: Install Pipfile
if: steps.cache-pipenv.outputs.cache-hit != 'true'
run: pipenv install --dev
- name: Test Pipenv
run: pipenv run test -svvv
# - name: Test Django
# run: pipenv run ./embark/manage.py check