Skip to content

Commit b371f23

Browse files
committed
fetch-depth
1 parent 3293766 commit b371f23

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.github/workflows/django.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
name: Django application
22
on: [push]
33
jobs:
4-
docker_build:
5-
runs-on: ubuntu-latest
6-
steps:
7-
- uses: actions/checkout@v4
8-
- name: Build docker
9-
run: docker compose build
10-
- name: Run ruff
11-
run: docker compose run django ruff check styleguide_example/
12-
- name: Run mypy
13-
run: docker compose run django mypy --config mypy.ini styleguide_example/
14-
- name: Run tests
15-
run: docker compose run django py.test
4+
# docker_build:
5+
# runs-on: ubuntu-latest
6+
# steps:
7+
# - uses: actions/checkout@v4
8+
# - name: Build docker
9+
# run: docker compose build
10+
# - name: Run ruff
11+
# run: docker compose run django ruff check styleguide_example/
12+
# - name: Run mypy
13+
# run: docker compose run django mypy --config mypy.ini styleguide_example/
14+
# - name: Run tests
15+
# run: docker compose run django py.test
1616

1717
build:
1818
runs-on: ubuntu-latest
@@ -29,6 +29,8 @@ jobs:
2929
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
3030
steps:
3131
- uses: actions/checkout@v4
32+
- with:
33+
fetch-depth: 0
3234
- run: ls
3335
- uses: ./.github/workflows/python_and_pip/action.yml"
3436
with:

0 commit comments

Comments
 (0)