Skip to content

Release notes and version bump. #75

Release notes and version bump.

Release notes and version bump. #75

name: Run self test
on:
push:
branches:
- v3-dev
pull_request:
branches:
- v3
jobs:
run_tests:
name: Testing on ${{ matrix.os }} with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.7" ]
steps:
- uses: actions/checkout@v4
- name: Setup python version ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies for pypy3
if: ${{ matrix.python-version == 'pypy3' }}
run: pypy3 -m pip install -r requirements.txt
- name: Install dependencies for CPython
if: ${{ matrix.python-version != 'pypy3' }}
run: python3 -m pip install -r requirements.txt
- name: Build c extension for pypy3
if: ${{ matrix.python-version == 'pypy3' }}
run: pypy3 -m pip install ./c
- name: Build c extension for Cpython
if: ${{ matrix.python-version != 'pypy3' }}
run: python3 -m pip install ./c
- name: Run tests using Cpython
if: ${{ matrix.python-version != 'pypy3' }}
run: python3 -m pynmrstar.unit_tests
- name: Run tests using Pypy
if: ${{ matrix.python-version == 'pypy3' }}
run: pypy3 -m pynmrstar.unit_tests
#- name: Launch interactive debug
# uses: mxschmitt/action-tmate@v3