Skip to content

ci: pre-commit updates #113

ci: pre-commit updates

ci: pre-commit updates #113

Workflow file for this run

name: build
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
test:
strategy:
matrix:
os: [ ubuntu-latest ]
python: [ 3.8, 3.9, "3.10", 3.11, 3.12 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r requirements_test.txt
- name: Lint with pre-commit
run: |
pre-commit run --all-files
- name: Test with pytest
run: |
pytest -p no:spark -m "not spark_test"