Skip to content

New: Completes units overhaul (tests/types pass!) #190

New: Completes units overhaul (tests/types pass!)

New: Completes units overhaul (tests/types pass!) #190

Workflow file for this run

name: lint
on:
push:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
# Repository
- name: Checkout the code
uses: actions/checkout@v4
# Environment
- name: Download environment files
run: |
wget https://raw.githubusercontent.com/Auto-Mech/amech-dev/main/pyproject.toml -P ..
wget https://raw.githubusercontent.com/Auto-Mech/amech-dev/main/pixi.lock -P ..
mkdir -p ../src/automech
touch ../src/automech/__init__.py
- name: Set up Pixi
uses: prefix-dev/setup-pixi@v0.8.1
with:
manifest-path: ../pyproject.toml
- name: Pip install
run: |
pixi run pip install -e . --no-deps
# Lint
- name: Lint
run: |
pixi run ./old-lint.sh