Skip to content

Add pytest infrastructure #6

Add pytest infrastructure

Add pytest infrastructure #6

# .github/workflows/python-self-hosted.yml
name: Python CI (Self-hosted)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest