Fix error
This commit is contained in:
parent
34118e1319
commit
047f67c4cb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue