Skip to content

chore: switch to ruff for linting & formatting #68

chore: switch to ruff for linting & formatting

chore: switch to ruff for linting & formatting #68

Workflow file for this run

on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
- run: |
sudo apt-get install libxml2-dev libxslt1-dev
pip install -U pip
pip install coveralls
pip install -r requirements.txt
- run: coverage run --source=sacad setup.py test
- run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}