Skip to content

Ruff fixes

Ruff fixes #18

Workflow file for this run

name: mvsp python application
on:
push:
branches: [ main, research ]
pull_request:
branches: [ main, research ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11","3.12"]
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 dependencies
run: |
python -m pip install --upgrade pip
python -m pip install uv
uv venv .venv
source .venv/bin/activate
uv pip install -r requirements.txt
uv pip install -e .
# - name: Pre-commit checks
# run: |
# pip install pre-commit
# pre-commit run --all-files
- name: Run tests
run: |
source .venv/bin/activate
pytest --workers auto --tests-per-worker auto
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# push: true
# tags: nathfitz/test:latest