Skip to content

Commit

Permalink
Updates to reflect parent project
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklinke committed Oct 24, 2023
1 parent 811664b commit 6d9642e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_output_dir": "/home/watervize/omenapps_packages",
"_template": "./cookiecutter-django-package",
"_template": "./cookiecutter-django-package/",
"author": "Jack Linke",
"copyright_year": "2023",
"development_status": "Development Status :: 1 - Planning",
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
pip==23.3.1
nox==2023.4.22
nox-poetry==1.0.3
playwright==1.39.0
poetry==1.6.1
pytest==7.4.2
pytest-cov==4.1.0
pytest-django==4.5.2
pytest-docker==2.0.1
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,22 @@ jobs:
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
nox --version
- name: Install pytest
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt pytest
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt pytest pytest-cov pytest-django pytest-docker
nox --version
- name: Install django
run: |
python -m pip install 'Django~=${{ matrix.django }}.0'
- name: Install Playwright
if: matrix.session == 'tests'
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt playwright
python -m playwright install --with-deps
- name: Compute pre-commit cache key
if: matrix.session == 'pre-commit'
id: pre-commit-cache
Expand Down

0 comments on commit 6d9642e

Please sign in to comment.