Skip to content

Fix CI: pin action SHAs and fix test config #42

Fix CI: pin action SHAs and fix test config

Fix CI: pin action SHAs and fix test config #42

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install numpy sympy scipy mpmath pytest ruff
- name: Lint
run: ruff check forge/ lab/ --select E,F,W --ignore E501
- name: Test
run: python -m pytest tests/ -v