Skip to content

Updated actions versions + Python 3.13 test #350

Updated actions versions + Python 3.13 test

Updated actions versions + Python 3.13 test #350

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Test PyGLM on various systems and Python versions
# Controls when the workflow will run
on: [push, pull_request, workflow_dispatch]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test-build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1"]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pip, build and pytest
run: |
python -m pip install pip --upgrade
pip install pytest
pip install build
- name: Build PyGLM
run: python -m build
- name: Install PyGLM
run: pip install -e .
- name: Test with pytest
run: pytest test/PyGLM_test.py -v