Skip to content

Merge pull request #23 from FabiPi3/fix_shell_parse_jobs_list #37

Merge pull request #23 from FabiPi3/fix_shell_parse_jobs_list

Merge pull request #23 from FabiPi3/fix_shell_parse_jobs_list #37

Workflow file for this run

name: testing
on:
push:
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[strict,tests,dev]
- name: Lint
run: pre-commit run --all-files --show-diff-on-failure
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[strict,tests,docs]
- name: Test
run: pytest --cov=qtoolkit --cov-report=xml
# docs:
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v3
#
# - uses: actions/setup-python@v4
# with:
# python-version: '3.11'
# cache: pip
# cache-dependency-path: pyproject.toml
#
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install .[strict,docs]
#
# - name: Build
# run: jupyter-book build docs --path-output docs_build