Skip to content

Fix .pylintrc location. #89

Fix .pylintrc location.

Fix .pylintrc location. #89

Workflow file for this run

name: Python Package CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
pip install pytest pytest-cov
pip install .
- name: List repository root files (debug)
run: |
ls -al
- name: Clear Pylint cache
run: |
rm -rf ~/.pylint.d
- name: Lint with Pylint using custom rcfile
run: |
set -e # Ensure the workflow fails if any linting issues are found
pylint --rcfile=.pylintrc eclipsebin
- name: Run tests with pytest
run: |
set -e # Ensure the workflow fails if any tests fail
pytest --cov
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}