Skip to content

Add remote pipx install in readme #429

Add remote pipx install in readme

Add remote pipx install in readme #429

Workflow file for this run

# This workflow will install Python dependencies and run tests.
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12.9
uses: actions/setup-python@v3
with:
python-version: "3.12.9"
- name: Install ruff
run: pipx install ruff
- name: Lint
run: ruff check --output-format=github --target-version=py312
- name: Format
run: ruff format --diff --target-version=py312
- name: Install dependencies
run: |
python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Install ammo
run: |
. .venv/bin/activate
pip install --break-system-packages --force-reinstall .
- name: Test
run: |
. .venv/bin/activate
pytest --cov=.venv/lib/python3.12/site-packages/ammo
- name: Install ammo with pipx
run: pipx install .