Skip to content

put credentials in file in action #13

put credentials in file in action

put credentials in file in action #13

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
jobs:
lint:
name: "Python Lint"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v5
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: .python-version
- name: "Install uv"
uses: astral-sh/setup-uv@v6
- name: "Ruff check"
run: uv run ruff check
- name: "Ruff format check"
run: uv run ruff format --check
test:
name: "Python Unit Tests"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v5
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: .python-version
- name: "Install uv"
uses: astral-sh/setup-uv@v6
- name: "Pytest"
working-directory: src
run: uv run pytest --cov=. --cov-fail-under=96