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 4a358f6 commit 4534b78
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 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]
python-version: [3.8, 3.9, 3.10, 3.11]

steps:
- name: Checkout repository
Expand All @@ -38,19 +38,6 @@ jobs:
pip install -r requirements.txt || true
pip install -r requirements-dev.txt || true
- name: Lint with Flake8
- name: Run tests
run: |
pip install flake8
flake8 your_package_name/
- name: Run tests with coverage
env:
CI: true
run: |
pip install pytest pytest-cov
pytest --cov=your_package_name tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
pytest

0 comments on commit 4534b78

Please sign in to comment.