Skip to content

fix push

fix push #26

Workflow file for this run

name: Python-CI
on:
push:
branches:
- master
- develop
- feature/*
pull_request:
branches:
- master
- develop
- feature/*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10" # Specify the Python version you need
cache: "pip" # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install ruff pytest python-semantic-release
- name: Lint with Ruff
run: |
ruff check ./mirtorch
- name: Test with pytest
run: |
pytest ./tests/*