diff --git a/.github/workflows/project_ci.yml b/.github/workflows/project_ci.yml index f6e64b01..86e532ed 100644 --- a/.github/workflows/project_ci.yml +++ b/.github/workflows/project_ci.yml @@ -5,7 +5,6 @@ # 1) List all caches for this repo using the Github CLI: gh api -H "Accept: application/vnd.github+json" /repos/Lightmatter/django-hydra/actions/caches # 2) Delete each cache id from the list, e.g.: gh api --method DELETE -H "Accept: application/vnd.github+json" /repos/Lightmatter/django-hydra/actions/caches/1 - name: Project CI on: pull_request @@ -45,7 +44,6 @@ jobs: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - - run: poetry env use ${{ steps.setup_python.outputs.python-version }} - name: Install dependencies if cache does not exist @@ -79,7 +77,7 @@ jobs: - run: poetry run playwright install working-directory: ./sampleapp - - run: poetry run coverage run --source='.' manage.py test + - run: poetry run coverage run --source='.' pytest working-directory: ./sampleapp services: @@ -94,4 +92,4 @@ jobs: --health-timeout 5s --health-retries 5 ports: - - 5432:5432 \ No newline at end of file + - 5432:5432 diff --git a/{{cookiecutter.repo_name}}/.github/workflows/django_ci.yml b/{{cookiecutter.repo_name}}/.github/workflows/django_ci.yml index 2e728495..4a1818fb 100644 --- a/{{cookiecutter.repo_name}}/.github/workflows/django_ci.yml +++ b/{{cookiecutter.repo_name}}/.github/workflows/django_ci.yml @@ -109,7 +109,7 @@ jobs: run: poetry install --no-interaction --no-root - run: poetry run playwright install - - run: poetry run coverage run --source='.' manage.py test + - run: poetry run coverage run --source='.' pytest - run: poetry run ./manage.py collectstatic --noinput services: