Skip to content

test

test #274

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Installing build dependencies
run: scripts/install_dependencies.sh
- name: Installing rednose
run: pip3 install --break-system-packages .[dev]
- name: Unit Tests
run: pytest
static_analysis:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Installing build dependencies
run: scripts/install_dependencies.sh
- name: Installing rednose
run: pip3 install --break-system-packages .[dev]
- name: Static analysis
run: pre-commit run --all