Skip to content

Run tests on all commits, but not on docs changes #69

Run tests on all commits, but not on docs changes

Run tests on all commits, but not on docs changes #69

Workflow file for this run

name: unit tests
permissions:
contents: read
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, windows-2022, macos-14]
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Update package index
run: sudo apt-get update
- name: Install PIP Packages
run: |
pip install -e .
pip install pytest
- name: Run tests
run: pytest test/
env:
PYTHONHASHSEED: 0