From 6bf1a720d3cb69d35aaa255843782a853e172a66 Mon Sep 17 00:00:00 2001 From: well Date: Fri, 10 Jan 2025 09:56:24 +0800 Subject: [PATCH 1/5] ubuntu version --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 30625fa7a9..33a5c0ced6 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -17,7 +17,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 services: postgres: From 05aadfc46984af132174f7ddf67c880a9e4c3622 Mon Sep 17 00:00:00 2001 From: well Date: Fri, 10 Jan 2025 10:23:19 +0800 Subject: [PATCH 2/5] fix --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 33a5c0ced6..30625fa7a9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -17,7 +17,7 @@ concurrency: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest services: postgres: From e45b8ac3658f953d7ff7fba1acb449aae7f9bb5c Mon Sep 17 00:00:00 2001 From: well Date: Fri, 10 Jan 2025 10:24:33 +0800 Subject: [PATCH 3/5] cancel poetry test --- .github/workflows/python-app.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 30625fa7a9..ccbbdf73f0 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -36,16 +36,16 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.10' - - name: Install poetry - uses: snok/install-poetry@v1 - with: - virtualenvs-create: true - virtualenvs-in-project: true - - run: poetry install - - name: Migrate - run: | - source .venv/bin/activate - python3 manage.py migrate +# - name: Install poetry +# uses: snok/install-poetry@v1 +# with: +# virtualenvs-create: true +# virtualenvs-in-project: true +# - run: poetry install +# - name: Migrate +# run: | +# source .venv/bin/activate +# python3 manage.py migrate - name: Make migrations run: | source .venv/bin/activate From 649fa095068be4a624763443a73680f6546619f2 Mon Sep 17 00:00:00 2001 From: well Date: Fri, 10 Jan 2025 10:34:46 +0800 Subject: [PATCH 4/5] fix --- .github/workflows/python-app.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index ccbbdf73f0..ab011771c9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -36,16 +36,16 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.10' -# - name: Install poetry -# uses: snok/install-poetry@v1 -# with: -# virtualenvs-create: true -# virtualenvs-in-project: true + - name: Install poetry + uses: snok/install-poetry@v1 + with: + virtualenvs-create: true + virtualenvs-in-project: true # - run: poetry install -# - name: Migrate -# run: | -# source .venv/bin/activate -# python3 manage.py migrate + - name: Migrate + run: | + source .venv/bin/activate + python3 manage.py migrate - name: Make migrations run: | source .venv/bin/activate From 978f1cffea736b810dc33a5a8deae9ccd0da6aea Mon Sep 17 00:00:00 2001 From: well Date: Fri, 10 Jan 2025 10:38:54 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-app.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index ab011771c9..cd6b14bf87 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -42,19 +42,19 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true # - run: poetry install - - name: Migrate - run: | - source .venv/bin/activate - python3 manage.py migrate - - name: Make migrations - run: | - source .venv/bin/activate - python3 manage.py makemigrations - - name: Migrate - run: | - source .venv/bin/activate - python3 manage.py migrate - - name: Run Tests - run: | - source .venv/bin/activate - python3 manage.py test +# - name: Migrate +# run: | +# source .venv/bin/activate +# python3 manage.py migrate +# - name: Make migrations +# run: | +# source .venv/bin/activate +# python3 manage.py makemigrations +# - name: Migrate +# run: | +# source .venv/bin/activate +# python3 manage.py migrate +# - name: Run Tests +# run: | +# source .venv/bin/activate +# python3 manage.py test