Skip to content

Feat(#16): Add Node.js CI workflow #2

Feat(#16): Add Node.js CI workflow

Feat(#16): Add Node.js CI workflow #2

Workflow file for this run

name: Django CI
on:
push:
branches: ["main", "structure-architecture"]
pull_request:
branches: ["main", "structure-architecture"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
cd backend
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Tests
run: |
cd backend
python manage.py test