Skip to content

Update cmp-test.yml

Update cmp-test.yml #7

Workflow file for this run

name: cmp-django-base-build
on:
workflow_call:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
simple_build:
runs-on: ubuntu-latest
steps:
- name: Checkout CMP code
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install flake8
run: |
pip install flake8
- name: Install black
run: |
pip install black
- name: Install requirements
run: |
pip install -r requirements.txt
- name: Run tests
run: |
python core/manage.py test