Update cmp-test.yml #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Django TestInvalid workflow file
|
||
pip install -r flake8 | ||
run: | | ||
pip install -r requirements.txt | ||
- name: Run tests | ||
run: | | ||
python core/manage.py test | ||