Skip to content

Fix requires-python #19

Fix requires-python

Fix requires-python #19

Workflow file for this run

name: Test Pyoma2
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]
exclude:
# fail on installation of pywinpty
- os: windows-latest
python-version: "3.11"
- os: windows-latest
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tkinter for Ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y python3-tk
- name: Install PDM
run: python -m pip install pdm==2.17.2
- name: Install dependencies
run: pdm install --without docs
- name: Run tests
run: pdm run pytest