Skip to content

Commit fbdf323

Browse files
committed
Update fastapi ci file
1 parent 0465d6a commit fbdf323

File tree

1 file changed

+2
-54
lines changed

1 file changed

+2
-54
lines changed

.github/workflows/testing_fastapi.yml

Lines changed: 2 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,9 @@ jobs:
5050
- name: Run creation
5151
run: ./scripts/ci_run_fastapi.sh "fastapi" 1
5252
shell: bash
53-
- name: Install Dependencies
54-
working-directory: ${{ env.WORKING_DIR }}
55-
run: |
56-
uv lock
57-
uv sync --frozen
5853
- name: Pre-commit check
5954
working-directory: ${{ env.WORKING_DIR }}
6055
run: |
61-
uv run pre-commit install
6256
git add .
6357
uv run pre-commit run --all-files
6458
- name: make .env
@@ -94,15 +88,9 @@ jobs:
9488
- name: Run creation
9589
run: ./scripts/ci_run_fastapi.sh ${{ matrix.project_type }} 1
9690
shell: bash
97-
- name: Install Dependencies
98-
working-directory: ${{ env.WORKING_DIR }}
99-
run: |
100-
uv lock
101-
uv sync --frozen
10291
- name: Pre-commit check
10392
working-directory: ${{ env.WORKING_DIR }}
10493
run: |
105-
uv run pre-commit install
10694
git add .
10795
uv run pre-commit run --all-files
10896
- name: Test with pytest
@@ -137,13 +125,9 @@ jobs:
137125
- name: Run creation
138126
run: ./scripts/ci_run_fastapi.sh "fastapi" 2
139127
shell: bash
140-
- name: Install Dependencies
141-
working-directory: ${{ env.WORKING_DIR }}
142-
run: poetry install
143128
- name: Pre-commit check
144129
working-directory: ${{ env.WORKING_DIR }}
145130
run: |
146-
poetry run pre-commit install
147131
git add .
148132
poetry run pre-commit run --all-files
149133
- name: make .env
@@ -183,13 +167,9 @@ jobs:
183167
- name: Run creation
184168
run: ./scripts/ci_run_fastapi.sh ${{ matrix.project_type }} 2
185169
shell: bash
186-
- name: Install Dependencies
187-
working-directory: ${{ env.WORKING_DIR }}
188-
run: poetry install
189170
- name: Pre-commit check
190171
working-directory: ${{ env.WORKING_DIR }}
191172
run: |
192-
poetry run pre-commit install
193173
git add .
194174
poetry run pre-commit run --all-files
195175
- name: Test with pytest
@@ -218,15 +198,9 @@ jobs:
218198
- name: Run creation
219199
run: ./scripts/ci_run_fastapi.sh "fastapi" 4
220200
shell: bash
221-
- name: Install Dependencies
222-
working-directory: ${{ env.WORKING_DIR }}
223-
run: |
224-
python -m pip install -U pip
225-
python -m pip install -r requirements-dev.txt -r requirements.txt
226201
- name: Pre-commit check
227202
working-directory: ${{ env.WORKING_DIR }}
228203
run: |
229-
pre-commit install
230204
git add .
231205
pre-commit run --all-files
232206
- name: make .env
@@ -260,15 +234,9 @@ jobs:
260234
- name: Run creation
261235
run: ./scripts/ci_run_fastapi.sh ${{ matrix.project_type }} 4
262236
shell: bash
263-
- name: Install Dependencies
264-
working-directory: ${{ env.WORKING_DIR }}
265-
run: |
266-
python -m pip install -U pip
267-
python -m pip install -r requirements-dev.txt
268237
- name: Pre-commit check
269238
working-directory: ${{ env.WORKING_DIR }}
270239
run: |
271-
pre-commit install
272240
git add .
273241
pre-commit run --all-files
274242
- name: Test with pytest
@@ -299,16 +267,9 @@ jobs:
299267
- name: Run creation
300268
run: ./scripts/ci_run_fastapi.sh "fastapi" 3
301269
shell: bash
302-
- name: Install Dependencies
303-
working-directory: ${{ env.WORKING_DIR }}
304-
run: |
305-
uv lock
306-
uv sync --frozen
307-
uv run maturin build
308270
- name: Pre-commit check
309271
working-directory: ${{ env.WORKING_DIR }}
310272
run: |
311-
uv run pre-commit install
312273
git add .
313274
uv run pre-commit run --all-files
314275
- name: make .env
@@ -344,16 +305,9 @@ jobs:
344305
- name: Run creation
345306
run: ./scripts/ci_run_fastapi.sh ${{ matrix.project_type }} 3
346307
shell: bash
347-
- name: Install Dependencies
348-
working-directory: ${{ env.WORKING_DIR }}
349-
run: |
350-
uv lock
351-
uv sync --frozen
352-
uv run maturin build
353308
- name: Pre-commit check
354309
working-directory: ${{ env.WORKING_DIR }}
355310
run: |
356-
uv run pre-commit install
357311
git add .
358312
uv run pre-commit run --all-files
359313
- name: Test with pytest
@@ -382,16 +336,13 @@ jobs:
382336
- name: Run creation
383337
run: ./scripts/ci_run_fastapi.sh "fastapi" 3 2
384338
shell: bash
385-
- name: Install Dependencies
339+
- name: Compile Rust
386340
working-directory: ${{ env.WORKING_DIR }}
387341
run: |
388-
python -m pip install -U pip
389-
python -m pip install -r requirements.txt -r requirements-dev.txt
390342
python -m maturin build
391343
- name: Pre-commit check
392344
working-directory: ${{ env.WORKING_DIR }}
393345
run: |
394-
pre-commit install
395346
git add .
396347
pre-commit run --all-files
397348
- name: make .env
@@ -425,16 +376,13 @@ jobs:
425376
- name: Run creation
426377
run: ./scripts/ci_run_fastapi.sh ${{ matrix.project_type }} 3 2
427378
shell: bash
428-
- name: Install Dependencies
379+
- name: Compile Rust
429380
working-directory: ${{ env.WORKING_DIR }}
430381
run: |
431-
python -m pip install -U pip
432-
python -m pip install -r requirements-dev.txt
433382
python -m maturin build
434383
- name: Pre-commit check
435384
working-directory: ${{ env.WORKING_DIR }}
436385
run: |
437-
pre-commit install
438386
git add .
439387
pre-commit run --all-files
440388
- name: Test with pytest

0 commit comments

Comments
 (0)