diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7b2365..de9090d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/