Skip to content

Machine Inference + Command Spinners #45

Machine Inference + Command Spinners

Machine Inference + Command Spinners #45

Workflow file for this run

name: CI
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12.5"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache Python packages
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/requirements-test.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install keyrings.alt
- name: Lint with Ruff
run: |
pip install ruff
ruff check . --output-format=github
continue-on-error: true
- name: Run Tests
run: |
coverage run -m pytest -v -s
- name: Generate Coverage Report
run: |
coverage report -m