From b432a7e7085f5039a2a15c8ebf697e7dc06a24ab Mon Sep 17 00:00:00 2001 From: Alex Dewar Date: Tue, 28 May 2024 16:12:26 +0100 Subject: [PATCH] CI: Test project --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8ae25f..e553126 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,17 @@ jobs: with: poetry-version: 1.2.2 - - name: Install dependencies + - name: Install cookiecutter + run: pip install cookiecutter + + - name: Create project from template + # Choose default options + run: cookiecutter --no-input . + + - name: Install project dependencies + working-directory: my_project run: poetry install - name: Run tests + working-directory: my_project run: poetry run pytest