Skip to content

Update github workflows and readthedocs config #27

Update github workflows and readthedocs config

Update github workflows and readthedocs config #27

Workflow file for this run

# SPDX-FileCopyrightText: 2021 Daniel Laidig <[email protected]>
#
# SPDX-License-Identifier: MIT
name: Tests
on: [push, pull_request]
jobs:
tests:
name: Run tests
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
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 Octave
run: sudo apt-get update -qq && sudo apt-get install -y -qq octave
- name: Install package
run: pip install ".[dev]"
- name: Run reuse lint
run: reuse lint
if: matrix.python-version == '3.10'
- name: Run flake8
run: flake8
if: matrix.python-version == '3.10'
- name: Run pytest
run: pytest --nomatlab