Skip to content

Fix mzmine

Fix mzmine #38

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
ruff:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- run: pip install -e '.[dev]'
- run: ruff src/ tests/ docs/source/
mypy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- run: pip install -e '.[dev]'
- run: mypy src/ tests/ docs/source/
ruff-format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- run: pip install -e '.[dev]'
- run: ruff format --check src/ tests/ docs/source/
pytest:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
lfs: 'true'
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- run: pip install -e '.[dev]'
- run: pytest --cov=src --cov-report term-missing
doctest:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- run: pip install -e '.[dev]'
- run: CAGEY_DB="../data/cagey.db" make -C docs doctest
sqlfluff:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- run: pip install -e '.[dev]'
- run: sqlfluff lint ./src/cagey/_internal/sql