Skip to content

Bump smqtk-detection[centernet,torch] from 0.20.0 to 0.20.1 #37

Bump smqtk-detection[centernet,torch] from 0.20.0 to 0.20.1

Bump smqtk-detection[centernet,torch] from 0.20.0 to 0.20.1 #37

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
linters:
name: ubuntu-latest-linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Analysing the code with black
run: |
black --check .
unit_tests:
needs:
- linters
runs-on: ubuntu-latest
name: ubuntu-latest-tests-python${{ matrix.python-version}}
strategy:
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@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -e .
- name: Invoke PyTest
run: |
pytest .