Skip to content

Commit

Permalink
Merge pull request #385 from Lightmatter/feature/inner_app_cleanup
Browse files Browse the repository at this point in the history
Inner App Post-Testing Cleanup
  • Loading branch information
jake-kent authored Feb 10, 2023
2 parents e060a02 + 0c9b20d commit f8afd3c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
24 changes: 10 additions & 14 deletions {{cookiecutter.repo_name}}/.github/workflows/django_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,30 +90,26 @@ jobs:
run: npm install

- name: Install and configure Poetry
uses: snok/install-poetry@e3dbfd357f4751d4f582d62bc8a71e56c2a7015b # v1.3.2
with:
version: 1.2.1
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
run: |
pipx install poetry==1.3.2
poetry config virtualenvs.create true
poetry config virtualenvs.in-project false
poetry config installer.parallel true
- uses: actions/setup-python@v4
id: setup_python
with:
python-version-file: ".python-version"
cache: "poetry"

- run: poetry env use ${{ steps.setup_python.outputs.python-version }}

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install + build NPM
run: |
npm ci
npm run build
- name: Install dependencies
run: |
poetry env use ${{ steps.setup_python.outputs.python-version }}
poetry install --no-interaction --no-root
poetry run playwright install chromium
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% block extrahead %}
{{ block.super }}
{% vite_hmr_client %}
{% vite_asset 'js/forms.ts' %}
{% vite_asset 'js/main.ts' %}
{% vite_asset 'css/tailwind.js' %}
<style>
Expand Down

0 comments on commit f8afd3c

Please sign in to comment.