Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

GH: testing for python version 3.12 #302

GH: testing for python version 3.12

GH: testing for python version 3.12 #302

name: 'Development Pipeline'
on:
push:
pull_request:
types: [opened, synchronize] #labeled, assigned]
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [macOS-10.14, ubuntu-18.04]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.11, 3.12] #
steps:
- name: Checkout
uses: actions/checkout@main
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest
pip install pytest-cov
pip install -e .
- name: Test with pytest
run: |
pytest