Skip to content

[pre-commit.ci] pre-commit autoupdate #525

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #525

Workflow file for this run

---
name: continuous-integration
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- uses: pre-commit/action@v2.0.3
test-package:
needs: [pre-commit]
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
which python
python -m pip install -e .[tests]
python -m pip freeze
- name: Run tests
run: python -m pytest -v