mirror of https://github.com/snachodog/mybuddy.git
Test `PIPENV_VENV_IN_PROJECT` in CI
This commit is contained in:
parent
81aa3b25b0
commit
9c1ba21628
|
@ -11,6 +11,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
DJANGO_SETTINGS_MODULE: babybuddy.settings.ci
|
DJANGO_SETTINGS_MODULE: babybuddy.settings.ci
|
||||||
|
PIPENV_VENV_IN_PROJECT: enabled
|
||||||
strategy:
|
strategy:
|
||||||
max-parallel: 4
|
max-parallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -29,18 +30,18 @@ jobs:
|
||||||
- name: Install pipenv
|
- name: Install pipenv
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pipenv wheel
|
python -m pip install --upgrade pipenv wheel
|
||||||
# - name: Cache Python dependencies
|
- name: Cache Python dependencies
|
||||||
# id: cache-pipenv
|
id: cache-pipenv
|
||||||
# uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
# with:
|
with:
|
||||||
# path: ~/.local/share/virtualenvs
|
path: ./.venv
|
||||||
# key: ${{ runner.os }}-python-${{ matrix.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-python-${{ matrix.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
||||||
# restore-keys: |
|
restore-keys: |
|
||||||
# ${{ runner.os }}-python-${{ matrix.python-version }}-pipenv-
|
${{ runner.os }}-python-${{ matrix.python-version }}-pipenv-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache-pipenv.outputs.cache-hit != 'true'
|
if: steps.cache-pipenv.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
pipenv install --deploy --dev
|
pipenv install --dev --verbose
|
||||||
- run: gulp lint
|
- run: gulp lint
|
||||||
- run: gulp coverage
|
- run: gulp coverage
|
||||||
- name: Submit results to Coveralls
|
- name: Submit results to Coveralls
|
||||||
|
|
Loading…
Reference in New Issue