Skip to content

Bump mongoose from 6.13.5 to 8.9.6 in /backend #745

Bump mongoose from 6.13.5 to 8.9.6 in /backend

Bump mongoose from 6.13.5 to 8.9.6 in /backend #745

Workflow file for this run

name: Modelscan Python REST API Unit Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '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
cd lib/modelscan_api
python -m pip install -r requirements-dev.txt
# Pytest
- name: Run basic testing
run: |
cd lib/modelscan_api
python -m pytest
# Pytest -m integration
- name: Run integration testing
run: |
cd lib/modelscan_api
python -m pytest -m integration