diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..7d9109f --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,24 @@ +name: Test Django +run-name: ${{ gitea.actor }} testing + +on: [push] + +jobs: + migrate: + name: Test migration + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Set up Python 3.11 + run: | + apt update -y + apt install -yqq python3 python3-pip + - name: Install Dependencies + run: | + python3 -m pip install --upgrade pip + pip3 install -r requirements.txt + - name: Run migration + run: | + python3 manage.py migrate + \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 5b1b146..c13ec06 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,12 @@ asgiref==3.7.2 +beautifulsoup4==4.12.2 Django==4.2.7 +django-bootstrap-v5==1.0.11 +django-browser-reload==1.12.1 +django-shortcuts==1.6 djangorestframework==3.14.0 +include==0.2.2 mysqlclient==2.2.0 pytz==2023.3.post1 +soupsieve==2.5 sqlparse==0.4.4