addGiteaActions #2
24
.gitea/workflows/test.yaml
Normal file
24
.gitea/workflows/test.yaml
Normal file
@ -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
|
||||||
|
|
||||||
@ -1,6 +1,12 @@
|
|||||||
asgiref==3.7.2
|
asgiref==3.7.2
|
||||||
|
beautifulsoup4==4.12.2
|
||||||
Django==4.2.7
|
Django==4.2.7
|
||||||
|
django-bootstrap-v5==1.0.11
|
||||||
|
django-browser-reload==1.12.1
|
||||||
|
django-shortcuts==1.6
|
||||||
djangorestframework==3.14.0
|
djangorestframework==3.14.0
|
||||||
|
include==0.2.2
|
||||||
mysqlclient==2.2.0
|
mysqlclient==2.2.0
|
||||||
pytz==2023.3.post1
|
pytz==2023.3.post1
|
||||||
|
soupsieve==2.5
|
||||||
sqlparse==0.4.4
|
sqlparse==0.4.4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user