Skip to content

Test suite

Test suite #27

Workflow file for this run

name: Test suite
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: [3.9, '3.10', 3.11]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install the package and its dependencies
run: |
python -m pip install --upgrade pip
pip install .[docs,test,demo]
- name: Check Dependencies
run: |
pipconflictchecker
- name: Lint
run: |
flake8 .
- name: Test
run: |
cd && mkdir for_test && cd for_test && pytest -svv --pyargs gapps --durations=0