Skip to content

fix(hellowork): read the title and company from the new span markup (… #85

fix(hellowork): read the title and company from the new span markup (…

fix(hellowork): read the title and company from the new span markup (… #85

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
install:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install build
- run: python -m build --wheel
- run: "python -m pip install --only-binary :all: dist/*.whl"
- run: cd /tmp && python -c "from jobspy import scrape_jobs"
- run: cd /tmp && jobspy --help && python -m jobspy --version
- run: python -m build --wheel mcp
- run: "python -m pip install --only-binary :all: dist/*.whl mcp/dist/*.whl"
- run: cd /tmp && mcp-jobspy < /dev/null
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-python@v7
with:
python-version: "3.14"
- run: pipx install poetry==2.5.1
- run: poetry sync --no-root --all-extras
- run: poetry run ruff check jobspy
- run: poetry run ruff format --diff jobspy
- if: failure()
run: echo "::error::This PR doesn't match the project's ruff lint and format rules. Run 'pip install --group dev', then 'ruff format jobspy' and 'ruff check --fix jobspy'. Fix anything ruff still reports, then push."
- run: poetry run mypy