Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jiadongdan committed Sep 20, 2024
1 parent 0a2f4b6 commit 46c38f5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
python-version: [3.8, 3.9, 3.10.12, 3.11]
python-version: [3.8, 3.9, 3.10.12]

steps:
- name: Checkout repository
Expand All @@ -38,6 +38,15 @@ jobs:
pip install -r requirements.txt || true
pip install -r requirements-dev.txt || true
- name: Run tests
- name: Lint with Flake8
run: |
pytest
pip install flake8
flake8 mtflearn/
- name: Run tests with coverage
env:
CI: true
run: |
pip install pytest pytest-cov
pytest --cov=mtflearn tests/

0 comments on commit 46c38f5

Please sign in to comment.