Skip to content

Commit

Permalink
Properly indent workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
huangsam committed Oct 1, 2024
1 parent b44a05d commit 9caf63f
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ jobs:
- 5432:5432

steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with ruff
run: |
ruff check
- name: Run tests and report with coverage
run: |
coverage run manage.py test
coverage report
env:
DJANGO_SETTINGS_MODULE: 'chowist.settings.test'
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with ruff
run: |
ruff check
- name: Run tests and report with coverage
run: |
coverage run manage.py test
coverage report
env:
DJANGO_SETTINGS_MODULE: 'chowist.settings.test'

0 comments on commit 9caf63f

Please sign in to comment.