Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Clarify which transmission is which #4483

Clarify which transmission is which

Clarify which transmission is which #4483

Workflow file for this run

name: Code CI
on:
push:
pull_request:
schedule:
# Run every Monday at 8am to check latest versions of dependencies
- cron: "0 8 * * WED"
jobs:
lint:
# pull requests are a duplicate of a branch push if within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: x64
- name: Checkout Hyperion
uses: actions/checkout@v4
- name: Install ruff
run: pip install ruff
- name: Run ruff
run: ruff .
tests:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install with latest dependencies
run: pip install -e .[dev]
- name: Run Pyright on changes
run: diff-quality --violations=pyright --fail-under=100
- name: Run tests
run: pytest --logging -s --random-order -m "not (dlstbx or s03)"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
name: ${{ matrix.python }}/${{ matrix.os }}
files: cov.xml