Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

build(deps-dev): bump the ui-deps group in /src/ui with 6 updates (#659) #1802

build(deps-dev): bump the ui-deps group in /src/ui with 6 updates (#659)

build(deps-dev): bump the ui-deps group in /src/ui with 6 updates (#659) #1802

Workflow file for this run

---
name: Tests
on:
push:
branches:
- master
pull_request:
paths:
- ".github/**"
- "!.github/actions/build-ui/**"
- "!.github/workflows/test-ui.yaml"
- "pyproject.toml"
- "src/**"
- "tests/**"
- "!src/ui/package.json"
- "!src/ui/package-lock.json"
- "!src/ui/static/**"
workflow_dispatch:
jobs:
tests:
name: Python ${{ matrix.python-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache torch-hub downloads
uses: actions/cache@v3
with:
path: ~/.cache/torch
key: ${{ runner.os }}-torch-hub
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Base Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install --upgrade tox virtualenv
- name: Download weights
run: |
python -m scripts.download_weights
- name: Run tests on ${{ matrix.os }} with python ${{matrix.python-version }}
run: |
tox -e py
- name: Make coverage report
run: |
tox -e coverage