Skip to content

Commit

Permalink
added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwembo committed Apr 24, 2024
1 parent b72bb86 commit d07d753
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,20 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
# pytest and pytest-cov is optional if coverage already installed
pip install pytest pylint pytest-cov
pip install -U coverage
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with Ruff
run: |
pip install ruff
ruff --format=github --target-version=py310 .
continue-on-error: true
- name: Lint with pylint
run: |
pylint apps/home
continue-on-error: true
# - name: Lint with Ruff
# run: |
# pip install ruff
# ruff --format=github --target-version=py310 .
# continue-on-error: true
- name: Test with pytest
run: |
# pytest -v -s
Expand Down

0 comments on commit d07d753

Please sign in to comment.