Fix error
Django CI/CD / build-and-push (push) Successful in 1m57s Details

This commit is contained in:
Lukáš Kucharczyk 2023-11-16 16:53:59 +01:00
parent 07452d8c43
commit f5faf92ee0
1 changed files with 0 additions and 23 deletions

View File

@ -7,29 +7,6 @@ on:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install Poetry
run: |
python -m pip install poetry
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install Dependencies
run: |
poetry install
- name: Apply migrations
run: |
poetry run python manage.py migrate
- name: Run Tests
run: |
poetry run python manage.py test
build-and-push:
needs: test
runs-on: ubuntu-latest