From 74102b08033b53433a494feafe1bbebdf00f5321 Mon Sep 17 00:00:00 2001 From: Vinicius Silva Date: Mon, 25 Dec 2023 19:56:47 -0300 Subject: [PATCH] Insert .github to Continuous Integration on project --- .github/workflows/test.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..72283b9 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,30 @@ +name: Danix File System + +on: + push: + - dev + + pull_request: + - main + +jobs: + continuous-integration: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Test + - uses: actions/setup-python@v2 + - with: + python-version: 3.11 + - name: Install Requirements + run: | + pip install -r requirements.txt + - name: Creating Database + run: | + python manage.py makemigrations + python manage.py migrate + - name: Run Danix + run: | + # Run commnad + # Test