Skip to content

python builds for python 3.12 and 3.13 (#6) #58

python builds for python 3.12 and 3.13 (#6)

python builds for python 3.12 and 3.13 (#6) #58

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install potsim2
shell: bash -l {0}
run: pip install pybind11 && pip install -e .
- name: Run tests
shell: bash -l {0}
run: python tests/test_potgrid.py