Skip to content

Update CI configuration to install dependencies with system site pack… #19

Update CI configuration to install dependencies with system site pack…

Update CI configuration to install dependencies with system site pack… #19

Workflow file for this run

name: Pytest
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.12 ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then uv pip install -r requirements.txt --upgrade --system; fi
- name: Install browsers
run: python -m playwright install
- name: Test with pytest
env:
GITHUB_RUN: True
run: |
pytest