Skip to content

Commit decc714

Browse files
Update the reference to output folder in ci
1 parent a8558bc commit decc714

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/startproject.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,19 @@ jobs:
5151
libpq-dev
5252
5353
# Base Python tooling
54-
pip install invoke poetry django
54+
pip install invoke poetry django typer yaml
5555
5656
- name: Create test project
5757
run: |
58-
django-admin startproject \
59-
--template template/ \
60-
--extension py,Dockerfile,env,toml,yml \
61-
test_project
58+
python src/booster.py --config sample_config.yml
6259
6360
- name: Install test project
6461
run: |
65-
cd test_project
62+
cd output/test_project
6663
poetry run invoke install
6764
6865
- name: Check test project is valid
6966
run: |
70-
cd test_project
67+
cd output/test_project
7168
cp example.env .env
7269
poetry run invoke check

sample_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
project_name: project_name
1+
project_name: test_project
22
template_path: template/
3-
output_dir: ./output/
3+
output_dir: ./output/

0 commit comments

Comments
 (0)