Skip to content

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

[pre-commit.ci] pre-commit autoupdate

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

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e .
pip install -r tests/requirements.txt
- name: Pytest
run: |
cd tests
pytest -v --cov=xplt --cov-report=xml --cov-report=term-missing
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
pip install -e .
pip install -r docs/requirements.txt
- name: Sphinx build
run: |
sphinx-build docs _build