Skip to content

Commit f3405a0

Browse files
author
guillemdb
committed
Update workflows to checkout submodules
Signed-off-by: guillemdb <guillem.duran@inait.ai>
1 parent 855a1eb commit f3405a0

4 files changed

Lines changed: 113 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
steps:
3131
- name: actions/checkout
3232
uses: actions/checkout@v4
33+
with:
34+
submodules: true
35+
persist-credentials: false
36+
fetch-depth: 100
3337
- name: Setup Rye
3438
id: setup-rye
3539
uses: eifinger/setup-rye@v4
@@ -52,6 +56,8 @@ jobs:
5256

5357
steps:
5458
- uses: actions/checkout@v4
59+
with:
60+
submodules: true
5561

5662
- name: Setup Rye
5763
id: setup-rye
@@ -118,6 +124,7 @@ jobs:
118124
- name: actions/checkout
119125
uses: actions/checkout@v4
120126
with:
127+
submodules: true
121128
persist-credentials: false
122129
fetch-depth: 100
123130
- name: Set Git user
@@ -181,6 +188,7 @@ jobs:
181188
- name: actions/checkout
182189
uses: actions/checkout@v4
183190
with:
191+
submodules: true
184192
persist-credentials: false
185193
fetch-depth: 100
186194
- name: current_version
@@ -212,6 +220,8 @@ jobs:
212220
steps:
213221
- name: actions/checkout
214222
uses: actions/checkout@v4
223+
with:
224+
submodules: true
215225
- name: Setup Rye
216226
id: setup-rye
217227
uses: eifinger/setup-rye@v4

config/config.yml

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
full_name: Guillem Duran Ballester
2+
email: guillem@fragile.tech
3+
website: fragile.tech
4+
project_name: Novelai
5+
project_slug: "{{ cookiecutter.project_name.lower().replace(' ', '-') }}"
6+
repo_name: "{{ cookiecutter.project_name|lower|replace(' ','-') }}"
7+
repo_main_branch: main
8+
repo_hosting:
9+
- github.com
10+
- gitlab.com
11+
- other domain not listed
12+
repo_hosting_domain: "{{ cookiecutter.repo_hosting if cookiecutter.repo_hosting != 'other domain not listed' else '' }}"
13+
repo_username: FragileTech
14+
repo_url: "https://{{ cookiecutter.repo_hosting_domain }}/{{ cookiecutter.repo_username }}/{{ cookiecutter.repo_name }}"
15+
package_name: "{{ cookiecutter.project_name|lower|replace(' ','_')|replace('-','_') }}"
16+
distribution_name: "{{ cookiecutter.package_name|replace('_','-') }}"
17+
module_name: core
18+
function_name: compute
19+
project_short_description: Automatic generation of book series with LLMs
20+
release_date: today
21+
year_from: "{% now 'utc', '%Y' %}"
22+
year_to: "{% now 'utc', '%Y' %}"
23+
target_python_version:
24+
- 3.10
25+
- 3.8
26+
- 3.9
27+
- 3.11
28+
- 3.12
29+
lock_file_support: false
30+
version: 0.0.0
31+
license:
32+
- MIT license
33+
- BSD 2-Clause License
34+
- BSD 3-Clause License
35+
- ISC license
36+
- Apache Software License 2.0
37+
- GNU Lesser General Public License v3 or later (LGPLv3+)
38+
- GNU Lesser General Public License v3 (LGPLv3)
39+
- GNU Lesser General Public License v2.1 or later (LGPLv2+)
40+
- GNU Lesser General Public License v2.1 (LGPLv2)
41+
- no
42+
pypi_badge:
43+
- yes
44+
- no
45+
pypi_disable_upload:
46+
- no
47+
- yes
48+
pre_commit:
49+
- yes
50+
- no
51+
formatter_quote_style:
52+
- double
53+
- single
54+
line_length: 99
55+
docstring_code_line_length: 99
56+
command_line_interface:
57+
- click
58+
- plain
59+
- argparse
60+
- no
61+
command_line_interface_bin_name: "{{ cookiecutter.distribution_name }}"
62+
codecov:
63+
- yes
64+
- no
65+
sphinx_docs:
66+
- yes
67+
- no
68+
sphinx_docs_hosting: "https://{{ cookiecutter.repo_name|replace('.', '') }}.readthedocs.io/"
69+
github_actions:
70+
- yes
71+
- no
72+
github_actions_osx:
73+
- yes
74+
- no
75+
github_actions_windows:
76+
- yes
77+
- no
78+
__pypi_badge_options:
79+
yes: true
80+
no: false
81+
__pypi_disable_upload_options:
82+
yes: true
83+
no: false
84+
__codecov_options:
85+
yes: true
86+
no: false
87+
__sphinx_docs_options:
88+
yes: true
89+
no: false
90+
__github_actions_options:
91+
yes: true
92+
no: false
93+
__github_actions_osx_options:
94+
yes: true
95+
no: false
96+
__github_actions_windows_options:
97+
yes: true
98+
no: false
99+
_extensions:
100+
- pylibrary.JsonQuoteExtension
101+
- jinja2_time.TimeExtension

mloq-template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit faff5db63b7b306158a23047b6e5b9ce977f3194
1+
Subproject commit 38dcee18624b31b220db28c177b3b51caad5f206

templates/mlops

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit 063686acac8ba07964df2eb6ef8cc2e50133732a
1+
Subproject commit 52c1a6d9c3e07d322e31ad07e4e66bb5ab21fcc5

0 commit comments

Comments
 (0)