Skip to content

[TEST] test ci workflow 2 #6

[TEST] test ci workflow 2

[TEST] test ci workflow 2 #6

name: pull-request-ci
on:
pull_request:
branches:
- 'master'
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'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r code/models/requirements.txt
- name: Test with pytest
run: |
PYTHONPATH="code/models" pytest tests/unit/test_ml_services.py --disable-pytest-warnings
- name: Lint code with Ruff
run: ruff check code/models/*.py --output-format=github
continue-on-error: false