Skip to content

refactor: simplify pre-commit config #69

refactor: simplify pre-commit config

refactor: simplify pre-commit config #69

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 }}