Skip to content

feat(ci): add pr-agent GH Action #22

feat(ci): add pr-agent GH Action

feat(ci): add pr-agent GH Action #22

Workflow file for this run

name: Python CI
on:
pull_request:
paths:
- 'py/**'
- '.github/**'
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r py/requirements.txt
- name: Black
run: black --check py/
- name: Run tests with pytest
env:
PYTHONPATH: py/packages
run: pytest py/