Skip to content

Commit

Permalink
Merge pull request #36 from marcocallea/Biagiocu99-patch-6
Browse files Browse the repository at this point in the history
Update ci.yml
  • Loading branch information
marcocallea authored May 19, 2024
2 parents b973c21 + c78ec81 commit 2529a17
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.12"
python-version: "3.10"
- name: Install dependencies for requirements and testing
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
- name: Lint with pylint
run: pylint $(git ls-files '*.py') --disable=W0611,W0622
run: |
pylint src
- name: Test with pytest
run: pytest --cov=src --cov-report=xml tests/
run: |
pytest --cov src tests/

0 comments on commit 2529a17

Please sign in to comment.