Skip to content

Add 3.12 test in the CI #34

Add 3.12 test in the CI

Add 3.12 test in the CI #34

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, 3.12]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the package and its dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install pytest
- name: Lint
run: |
flake8 .
- name: Test
run: |
cd && mkdir for_test && cd for_test && pytest -svv --pyargs gapps --durations=0