27 lines
577 B
YAML
27 lines
577 B
YAML
name: PyTest
|
|
|
|
on: [push, pull_request, workflow_call]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
pytest:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [ "3.10", "3.12", "3.14" ]
|
|
os: [ ubuntu-latest ]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install
|
|
run: pip install .[test]
|
|
- name: Test with pytest
|
|
run: pytest
|