Skip to content

[pre-commit.ci] pre-commit autoupdate #289

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #289

Workflow file for this run

name: Publish artifacts
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.13"
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Generate external dependencies
run: bash bin/generate_client.sh
- name: Install the project
run: uv sync
- name: Run pytest
run: uv run pytest --cov=friendly_computing_machine --cov-branch --cov-report=xml -n 8
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}