deepdraft / .github /workflows /pipeline.yml
Charles Azam
feat: try installing playwright in pipeline
4c56bfb
raw
history blame
912 Bytes
name: Python CI
on:
push:
branches:
- main # only on main branch, I am paying for this!
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Run formatter check
run: uv run black --check src tests
- name: Run tests
run: uv run pytest tests
env:
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
LINKUP_API_KEY: ${{ secrets.LINKUP_API_KEY }}
TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }}
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}