Skip to content

Merge pull request #1690 from gchq/feature/BAI-1528-improve-tag-widget #218

Merge pull request #1690 from gchq/feature/BAI-1528-improve-tag-widget

Merge pull request #1690 from gchq/feature/BAI-1528-improve-tag-widget #218

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@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
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