Skip to content

Update cmp-test.yml

Update cmp-test.yml #4

Workflow file for this run

name: Django Test
on:
workflow_call:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
simple_build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install requirements
run: |
pip install -r black
run: |

Check failure on line 24 in .github/workflows/cmp-test.yml

View workflow run for this annotation

GitHub Actions / Django Test

Invalid workflow file

The workflow is not valid. .github/workflows/cmp-test.yml (Line: 24, Col: 9): 'run' is already defined .github/workflows/cmp-test.yml (Line: 26, Col: 9): 'run' is already defined
pip install -r flake8
run: |
pip install -r requirements.txt
- name: Run tests
run: |
python core/manage.py test