Skip to content

🔒(deps): Bump tqdm from 4.65.0 to 4.66.3 #99

🔒(deps): Bump tqdm from 4.65.0 to 4.66.3

🔒(deps): Bump tqdm from 4.65.0 to 4.66.3 #99

Workflow file for this run

name: Automated Testing
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
python-version: [ "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e ".[testing]"
python setup.py install
- name: Download latest model from GitHub Releases
run: |
curl -L -o models/skinvestigator-sm.tflite https://github.com/Thomasbehan/SkinVestigatorAI/releases/download/0.1.5/skinvestigator-sm.tflite
- name: Download some data for testing
run: |
python commands/run_data_scraper.py -p 2
- name: Lint with ruff
run: |
ruff check
- name: Test with pytest
run: |
python -m pytest