Skip to content

Python build and test #36

Python build and test

Python build and test #36

Workflow file for this run

name: Python CI
run-name: Python build and test
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- closed
jobs:
lint:
name: Ruff lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Ruff lint
uses: chartboost/ruff-action@v1
build:
name: Build
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v6
- name: uv sync
run: uv sync
- name: Debug CLI
run: |
source .venv/bin/activate
github-rest-cli -h
env:
GITHUB_AUTH_TOKEN: f@k3-t0k3n